r18772 - gnucash/trunk/src/libqof/qof - MSVC C++ compatibility: Rename the internal name of union _GUID because _GUID is a builtin keyword here.

Christian Stimming cstim at code.gnucash.org
Mon Mar 1 13:44:28 EST 2010


Author: cstim
Date: 2010-03-01 13:44:28 -0500 (Mon, 01 Mar 2010)
New Revision: 18772
Trac: http://svn.gnucash.org/trac/changeset/18772

Modified:
   gnucash/trunk/src/libqof/qof/guid.h
Log:
MSVC C++ compatibility: Rename the internal name of union _GUID because _GUID is a builtin keyword here.

This does not concern the typedef name, only the internal union name,
so it doesn't harm us.

Modified: gnucash/trunk/src/libqof/qof/guid.h
===================================================================
--- gnucash/trunk/src/libqof/qof/guid.h	2010-03-01 18:44:07 UTC (rev 18771)
+++ gnucash/trunk/src/libqof/qof/guid.h	2010-03-01 18:44:28 UTC (rev 18772)
@@ -51,7 +51,7 @@
 
 /** The type used to store guids */
 #define GUID_DATA_SIZE	16
-typedef union _GUID
+typedef union GNC_INTERNAL_GUID
 {
     guchar data[GUID_DATA_SIZE];
 



More information about the gnucash-changes mailing list