]> granicus.if.org Git - gc/commitdiff
Add GC_UNDERSCORE_STDCALL, UNICODE macro templates to configure (Win32)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 15 Dec 2011 08:12:07 +0000 (12:12 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 15 Dec 2011 08:18:55 +0000 (12:18 +0400)
* configure.ac (GC_UNDERSCORE_STDCALL, UNICODE): New AH template (has
meaning only for Win32).

configure.ac

index 2c05b3d625c988d1a4136f2d0ac6342ffda39323..5edca05ac60967bd020bb3c3afd81438801774d8 100644 (file)
@@ -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.])