Bug 1713 - You can't check the existence of a typedef using the preprocessor. Added a preprocessor check. Also removed an overqualified method name. CompilerCompatibility
authorPeter Fordham <peter.fordham@gmail.com>
Mon, 22 Mar 2010 12:57:04 -0700
branchCompilerCompatibility
changeset 13 ef48f5dc1b7f
parent 12 8f46d5fb6bec
child 14 69a2780c0013
Bug 1713 - You can't check the existence of a typedef using the preprocessor. Added a preprocessor check. Also removed an overqualified method name.
compressionlibs/ziplib/inc/zipfilememberinputstream.h
genericopenlibs/openenvcore/libc/inc/gdtoa.h
genericopenlibs/openenvcore/libc/inc/gdtoatypes.h
glib/libglib/src/gfileutils.c
--- a/compressionlibs/ziplib/inc/zipfilememberinputstream.h	Mon Mar 22 12:55:48 2010 -0700
+++ b/compressionlibs/ziplib/inc/zipfilememberinputstream.h	Mon Mar 22 12:57:04 2010 -0700
@@ -76,7 +76,7 @@
 	RZipFileMemberReaderStream(CZipFile&, TUint32, TUint32, TUint32, TUint32);
 	
 	static RZipFileMemberReaderStream* NewL(CZipFile&, TUint32, TUint32, TUint32, TUint32);
-	void RZipFileMemberReaderStream::ConstructL();
+	void ConstructL();
 	
 	virtual TInt Read(void);
 	virtual TInt Read(TByte*, TUint32, TUint32*);
--- a/genericopenlibs/openenvcore/libc/inc/gdtoa.h	Mon Mar 22 12:55:48 2010 -0700
+++ b/genericopenlibs/openenvcore/libc/inc/gdtoa.h	Mon Mar 22 12:57:04 2010 -0700
@@ -43,7 +43,8 @@
 #ifndef Long
 #define Long long
 #endif
-#ifndef ULong
+#ifndef ULong_DEF
+#define ULong_DEF
 typedef unsigned Long ULong;
 #endif
 #ifndef UShort
--- a/genericopenlibs/openenvcore/libc/inc/gdtoatypes.h	Mon Mar 22 12:55:48 2010 -0700
+++ b/genericopenlibs/openenvcore/libc/inc/gdtoatypes.h	Mon Mar 22 12:57:04 2010 -0700
@@ -27,7 +27,8 @@
 #define PRIVATE_mem ((PRIVATE_MEM+sizeof(double)-1)/sizeof(double))
 #endif
 
-#ifndef ULong
+#ifndef ULong_DEF
+#define ULong_DEF
 typedef unsigned long ULong;
 #endif
 
--- a/glib/libglib/src/gfileutils.c	Mon Mar 22 12:55:48 2010 -0700
+++ b/glib/libglib/src/gfileutils.c	Mon Mar 22 12:57:04 2010 -0700
@@ -60,6 +60,8 @@
 #endif /* __SYMBIAN32__ */
 
 
+static gint create_temp_file (gchar *tmpl, int permissions);
+
 /**
  * g_mkdir_with_parents:
  * @pathname: a pathname in the GLib file name encoding