This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AC_API_WIN32 and AC_API_NOWIN32


The two attached files are macros for configuring a compiler
respectively, enable WIN32 support or disable WIN32 support.

They both have a high level interface that sets CFLAGS/CXXFLAGS and
CPPFLAGS and a low level interface that sets [NO]WIN32FLAGS for use in
projects that override CFLAGS/CPPFLAGS.

The second macro was introduced so that projects that don't port well if
the win32 api is in the include path can be updated easily. (windows.h
is not unique to win32, and if it gets included, WIN32 gets defined...)

Rob

win32.m4

nowin32.m4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]