Michael Stefaniuc : include: Forbid the use of CONST in Wine.

Alexandre Julliard julliard at winehq.org
Fri Sep 27 11:33:13 CDT 2013


Module: wine
Branch: master
Commit: f78ffb374d53a92c86772cc3a238db738ac4328b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f78ffb374d53a92c86772cc3a238db738ac4328b

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri Sep 27 09:59:20 2013 +0200

include: Forbid the use of CONST in Wine.

---

 include/windef.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/windef.h b/include/windef.h
index 17c0fba..9322c41 100644
--- a/include/windef.h
+++ b/include/windef.h
@@ -167,7 +167,7 @@ extern "C" {
 #define _CDECL      __cdecl
 #define WINAPIV     __cdecl
 #define APIENTRY    WINAPI
-#define CONST       const
+#define CONST       __ONLY_IN_WINELIB(const)
 
 /* Misc. constants. */
 




More information about the wine-cvs mailing list