summaryrefslogtreecommitdiff
path: root/fluid/ide_support.h
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-04-12 15:15:03 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-04-12 15:15:03 +0000
commit9100fc0b51969cbb2ae83d1d355bf584dd00d406 (patch)
treeebe240ef8545c7ac8787a93cd8120b42c8f9d853 /fluid/ide_support.h
parent9604b556b82f1c858bae5271adf2de8d79461231 (diff)
Solved MSWin type conflict UUID
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/ide_support.h')
-rw-r--r--fluid/ide_support.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/fluid/ide_support.h b/fluid/ide_support.h
index 7bd11e471..20721b021 100644
--- a/fluid/ide_support.h
+++ b/fluid/ide_support.h
@@ -32,21 +32,16 @@
#include <FL/Fl_Preferences.H>
-#ifndef WIN32
-/* Remove this typedef from win32 builds, it seems it clashes
- * with existing symbol names. It does not appear to be used. */
-typedef char UUID[40];
-#endif
-typedef char XCID[25];
-
+typedef char Fl_UUID[40];
+typedef char Fl_XCID[25];
-extern void getUUID(Fl_Preferences &db, const char *key, char *buffer);
-extern void getXCID(Fl_Preferences &db, const char *key, char *buffer);
+extern void fl_getUUID(Fl_Preferences &db, const char *key, char *buffer);
+extern void fl_getXCID(Fl_Preferences &db, const char *key, char *buffer);
/* Shortcut to retrieve or create a UUID from the database */
#define MAKE_UUID(name, db) \
- char name[40]; getUUID(db, #name, name);
+ char name[40]; fl_getUUID(db, #name, name);
/* Shortcut to retrieve, but not create a UUID from the database */
#define GET_UUID(name, db) \
@@ -54,7 +49,7 @@ extern void getXCID(Fl_Preferences &db, const char *key, char *buffer);
/* Shortcut to retrieve or create a UUID from the database */
#define MAKE_XCID(name, db) \
-char name[25]; getXCID(db, #name, name);
+char name[25]; fl_getXCID(db, #name, name);
/* Shortcut to retrieve, but not create a UUID from the database */
#define GET_XCID(name, db) \