[sword-svn] r2647 - trunk/include

scribe at crosswire.org scribe at crosswire.org
Sat Jul 23 10:43:26 MST 2011


Author: scribe
Date: 2011-07-23 10:43:26 -0700 (Sat, 23 Jul 2011)
New Revision: 2647

Modified:
   trunk/include/defs.h
Log:
fixed bug in deprecated system logic


Modified: trunk/include/defs.h
===================================================================
--- trunk/include/defs.h	2011-07-23 17:39:20 UTC (rev 2646)
+++ trunk/include/defs.h	2011-07-23 17:43:26 UTC (rev 2647)
@@ -48,7 +48,7 @@
 #    define SWDLLEXPORT_CTORFN
 #  endif
 
-# define SWDEPRECATED __declspec(deprecated("** WARNING: deprecated method **"))
+#  define SWDEPRECATED __declspec(deprecated("** WARNING: deprecated method **"))
 
 
 #elif defined(__SWPM__)
@@ -67,7 +67,7 @@
 #    define SWDLLEXPORT_CTORFN
 #  endif
 
-# define SWDEPRECATED 
+#  define SWDEPRECATED 
 
 
 #elif defined(__GNUWIN32__)
@@ -86,7 +86,7 @@
 #    define SWDLLEXPORT_CTORFN
 #  endif
 
-# define SWDEPRECATED __declspec(deprecated("** WARNING: deprecated method **"))
+#  define SWDEPRECATED  __attribute__((__deprecated__))
 
 
 #elif defined(__BORLANDC__)




More information about the sword-cvs mailing list