X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=libs%2Fimago%2Fsrc%2Fimago_gl.c;h=7dc444de9e6f23377d9425b8be0d97e19524c25c;hp=643fea9c1130473f605140ac2c96a916f6e3960d;hb=637ca39c29b03bd3a2beb99521753e83c043283f;hpb=b9ebecd3c02d5a5570d9b64190d76da78edb2d64 diff --git a/libs/imago/src/imago_gl.c b/libs/imago/src/imago_gl.c index 643fea9..7dc444d 100644 --- a/libs/imago/src/imago_gl.c +++ b/libs/imago/src/imago_gl.c @@ -197,6 +197,10 @@ unsigned int img_gltexture_read(struct img_io *io) return tex; } +#if (defined(__DOS__) || defined(__MSDOS__)) && defined(__unix__) +#undef __unix__ +#endif + #if defined(__unix__) || defined(__APPLE__) #ifndef __USE_GNU #define __USE_GNU