don't redefine macro when using Visual Studio
authorcaro <caro>
Sat, 11 Dec 2010 13:11:59 +0000 (13:11 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 11 Dec 2010 13:11:59 +0000 (13:11 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@55494 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

win32/common/eina_config.h

index dfbdaba..be1a50c 100644 (file)
 
 #define NVALGRIND
 
-#define VMAJ 1
-#define VMIN 0
-#define VMIC 0
-#define VREV 0
+#ifndef VMAJ
+# define VMAJ 1
+#endif
+#ifndef VMIN
+# define VMIN 0
+#endif
+#ifndef VMIC
+# define VMIC 0
+#endif
+#ifndef VREV
+# define VREV 0
+#endif
 
 #define MODULE_ARCH "win32-msc-x86"
 #define SHARED_LIB_SUFFIX ".dll"