From: Ivan Maidanski Date: Thu, 15 Dec 2011 08:12:07 +0000 (+0400) Subject: Add GC_UNDERSCORE_STDCALL, UNICODE macro templates to configure (Win32) X-Git-Tag: gc7_3alpha2~292 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c22cfa28930854564c39c21424557c786ec931ad;p=gc Add GC_UNDERSCORE_STDCALL, UNICODE macro templates to configure (Win32) * configure.ac (GC_UNDERSCORE_STDCALL, UNICODE): New AH template (has meaning only for Win32). --- diff --git a/configure.ac b/configure.ac index 2c05b3d6..5edca05a 100644 --- a/configure.ac +++ b/configure.ac @@ -141,6 +141,12 @@ dnl System header feature requests. AH_TEMPLATE([_POSIX_C_SOURCE], [The POSIX feature macro.]) AH_TEMPLATE([_PTHREADS], [Indicates the use of pthreads (NetBSD).]) +dnl Win32-specific API usage controls. +AH_TEMPLATE([GC_UNDERSCORE_STDCALL], + [Explicitly prefix exported/imported WINAPI symbols with '_'.]) +AH_TEMPLATE([UNICODE], + [Use Unicode (W) variant of Win32 API instead of ASCII (A) one.]) + dnl GC API symbols export control. AH_TEMPLATE([GC_DLL], [Define to build dynamic libraries with only API symbols exposed.])