summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/w32lib/w32lib.h6
-rw-r--r--include/w32lib/w32lib_api.h32
2 files changed, 19 insertions, 19 deletions
diff --git a/include/w32lib/w32lib.h b/include/w32lib/w32lib.h
index 1b94f73..a94d39e 100644
--- a/include/w32lib/w32lib.h
+++ b/include/w32lib/w32lib.h
@@ -11,10 +11,10 @@ extern "C" {
#endif
/* pre-alpha */
-#ifndef WLIB_APP
-#ifndef WLIB_PRE_ALPHA
+#ifndef W32LIB_APP
+#ifndef W32LIB_PRE_ALPHA
#error libw32lib: pre-alpha: ABI is not final!
-#error to use the library, please pass -DWLIB_PRE_ALPHA to the compiler.
+#error to use the library, please pass -DW32LIB_PRE_ALPHA to the compiler.
#endif
#endif
diff --git a/include/w32lib/w32lib_api.h b/include/w32lib/w32lib_api.h
index ae3fd88..5b2c211 100644
--- a/include/w32lib/w32lib_api.h
+++ b/include/w32lib/w32lib_api.h
@@ -3,33 +3,33 @@
#include <limits.h>
-/* wlib_export */
+/* w32lib_export */
#if defined(__dllexport)
-#define wlib_export __dllexport
+#define w32lib_export __dllexport
#else
-#define wlib_export
+#define w32lib_export
#endif
-/* wlib_import */
+/* w32lib_import */
#if defined(__dllimport)
-#define wlib_import __dllimport
+#define w32lib_import __dllimport
#else
-#define wlib_import
+#define w32lib_import
#endif
-/* wlib_api */
-#ifndef WLIB_APP
-#if defined (WLIB_EXPORT)
-#define wlib_api wlib_export
-#elif defined (WLIB_IMPORT)
-#define wlib_api wlib_import
-#elif defined (WLIB_STATIC)
-#define wlib_api
+/* w32lib_api */
+#ifndef W32LIB_APP
+#if defined (W32LIB_EXPORT)
+#define w32lib_api w32lib_export
+#elif defined (W32LIB_IMPORT)
+#define w32lib_api w32lib_import
+#elif defined (W32LIB_STATIC)
+#define w32lib_api
#else
-#define wlib_api
+#define w32lib_api
#endif
#else
-#define wlib_api
+#define w32lib_api
#endif
#endif