diff --git a/Makefile b/Makefile index c53a918..1312691 100644 --- 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 diff --git a/mojibake.h b/mojibake.h index 03069b6..2101f8c 100644 --- a/mojibake.h +++ b/mojibake.h @@ -76,7 +76,7 @@ enum {false, true}; #include #ifdef _WIN32 -# ifdef LIBRARY_EXPORTS +# ifdef MOJIBAKE_EXPORTS # define DLLEXPORT __declspec(dllexport) # else # define DLLEXPORT __declspec(dllimport)