New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow compilation with both MinGW and mingw-64 #82

Closed
wants to merge 2 commits into
base: master
from
Jump to file or symbol
Failed to load files and symbols.
+10 −2
Diff settings

Always

Just for now

Copy path View file
@@ -90,6 +90,14 @@ ifeq ($(UTF8),Y)
CFLAGS += -DPDC_FORCE_UTF8
endif
ifeq ($(INFOEX),N)
PDCCFLAGS += -DHAVE_NO_INFOEX
else
ifeq ($(INFOEX),Y)
PDCCFLAGS += -DHAVE_INFOEX
endif
endif
LINK = $(PREFIX)gcc
ifeq ($(DLL),Y)
@@ -146,7 +154,7 @@ $(LIBOBJS) : %.o: $(srcdir)/%.c
$(CC) -c $(CFLAGS) $<
$(PDCOBJS) : %.o: $(osdir)/%.c
$(CC) -c $(CFLAGS) $<
$(CC) -c $(CFLAGS) $(PDCCFLAGS) $<
firework.exe newdemo.exe newtest.exe ptest.exe rain.exe testcurs.exe \
version.exe worm.exe xmas.exe: %.exe: $(demodir)/%.c
Copy path View file
@@ -19,7 +19,7 @@
#endif
#if (defined(__CYGWIN__) || defined(__MINGW32__) || defined(__WATCOMC__) \
|| (defined(_MSC_VER) && _WIN32_WINNT >= _WIN32_WINNT_VISTA))
#if !defined(HAVE_INFOEX)
#if !defined(HAVE_INFOEX) && !defined(HAVE_NO_INFOEX)
# define HAVE_INFOEX
#endif
#endif
ProTip! Use n and p to navigate between commits in a pull request.