s/LIBRARY_EXPORTS/MOJIBAKE_EXPORTS/
authorTony Kelman <tony@kelman.net>
Tue, 23 Sep 2014 18:08:52 +0000 (11:08 -0700)
committerTony Kelman <tony@kelman.net>
Tue, 23 Sep 2014 18:08:52 +0000 (11:08 -0700)
Makefile
mojibake.h

index c53a918ccd644829182cb99500b5cc337e7d98c7..13126910502d793dc685bbbb02770c250e3951e6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ MAKE=make
 
 # settings
 
-cflags = -O2 -std=c99 -pedantic -Wall -fpic -DLIBRARY_EXPORTS $(CFLAGS)
+cflags = -O2 -std=c99 -pedantic -Wall -fpic -DMOJIBAKE_EXPORTS $(CFLAGS)
 cc = $(CC) $(cflags)
 AR = ar
 
index 03069b631207522bbbf9cacd6424621b18fcaa7f..2101f8cba8ce7e526593667fd5721c93c8319449 100644 (file)
@@ -76,7 +76,7 @@ enum {false, true};
 #include <limits.h>
 
 #ifdef _WIN32
-#  ifdef LIBRARY_EXPORTS
+#  ifdef MOJIBAKE_EXPORTS
 #    define DLLEXPORT __declspec(dllexport)
 #  else
 #    define DLLEXPORT __declspec(dllimport)