]> granicus.if.org Git - libjpeg-turbo/commitdiff
Prevent compiler warning on Windows if jmorecfg.h is included after the Windows heade...
authorDRC <dcommander@users.sourceforge.net>
Sun, 6 Jan 2013 18:00:20 +0000 (18:00 +0000)
committerDRC <dcommander@users.sourceforge.net>
Sun, 6 Jan 2013 18:00:20 +0000 (18:00 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@892 632fc199-4ca6-4c93-a231-07263d6284db

jmorecfg.h

index b5e98b59a494e179d67a2a5c00b13b97b60f479d..55af0568069df6ab550e6f4c0bec22a53b627320 100644 (file)
@@ -212,8 +212,11 @@ typedef unsigned int JDIMENSION;
  */
 
 #ifdef NEED_FAR_POINTERS
+#ifndef FAR
 #define FAR  far
+#endif
 #else
+#undef FAR
 #define FAR
 #endif