fixes for building static libs (new FLAC__NO_DLL #define)
[platform/upstream/flac.git] / include / share / getopt.h
index 0cb909a..b8285a5 100644 (file)
@@ -34,7 +34,7 @@
 #ifndef FLAC__SHARE__GETOPT_H
 #define FLAC__SHARE__GETOPT_H
 
-#if defined(unix) || defined(__CYGWIN__) || defined(__CYGWIN32__)
+#if defined(FLAC__NO_DLL) || defined(unix) || defined(__CYGWIN__) || defined(__CYGWIN32__)
 #define GETOPT_API
 
 #else