]> www.vanbest.org Git - sasc-ng.git/commitdiff
fix STATICBUILD compiling
authorleslie <unknown>
Tue, 23 Jun 2009 08:08:29 +0000 (10:08 +0200)
committerleslie <unknown>
Tue, 23 Jun 2009 08:08:29 +0000 (10:08 +0200)
version.h

index 6f3bcddf68a72f469033ed2b0b903b5d508c8582..8caca67a9b80808fa8895b14af86f0480c315505 100644 (file)
--- a/version.h
+++ b/version.h
@@ -26,6 +26,10 @@ extern const char *ScVersion;
 
 // SC API version number for loading shared libraries
 #define SCAPIVERS 24
+#ifndef STATICBUILD
 #define SCAPIVERSTAG() int ScLibApiVersion=SCAPIVERS
+#else
+#define SCAPIVERSTAG()
+#endif //STATICBUILD
 
 #endif