X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fgaw%2Fgawswtnl.h;h=d01629189b71b04f532b5e99553a24eab4f31a6e;hb=86ea36402d2ba296db0950d85e18c50f7ee7006b;hp=11d462b5d2c1340adb5b6bda2873fb7f10ca1ef1;hpb=d6c18f77cb710c5e4069fd12fde0dbed76f3a131;p=retroray diff --git a/src/gaw/gawswtnl.h b/src/gaw/gawswtnl.h index 11d462b..d016291 100644 --- a/src/gaw/gawswtnl.h +++ b/src/gaw/gawswtnl.h @@ -130,6 +130,15 @@ void gaw_swtnl_drawprim(int prim, struct vertex *v, int vnum); #if defined(__i386__) || defined(__386__) || defined(MSDOS) + +#ifndef INLINE +#if (__STDC_VERSION__ >= 199901) || defined(__GNUC__) +#define INLINE inline +#else +#define INLINE __inline +#endif +#endif + /* fast conversion of double -> 32bit int * for details see: * - http://chrishecker.com/images/f/fb/Gdmfp.pdf