SF.net SVN: mahogany: [7274] trunk/M/include/MModule.h

[email protected]
Newsgroups gmane.mail.mahogany.cvs
Message-ID <[email protected]>
Revision: 7274
          http://svn.sourceforge.net/mahogany/?rev=7274&view=rev
Author:   vadz
Date:     2007-06-03 15:17:05 -0700 (Sun, 03 Jun 2007)

Log Message:
-----------
use WXEXPORT instead of doing the compiler checks ourselves

Modified Paths:
--------------
    trunk/M/include/MModule.h

Modified: trunk/M/include/MModule.h
===================================================================
--- trunk/M/include/MModule.h	2007-05-18 12:21:51 UTC (rev 7273)
+++ trunk/M/include/MModule.h	2007-06-03 22:17:05 UTC (rev 7274)
@@ -38,11 +38,7 @@
 #  define MDLLEXPORT static
 #else
 #  ifdef OS_WIN
-#     if defined (_MSC_VER) || defined (__BORLANDC__)
-#        define MDLLEXPORT __declspec( dllexport )
-#     else
-#        error "don't know how export functions from DLL with this compiler"
-#     endif
+#     define MDLLEXPORT WXEXPORT
 #  else
 #     define MDLLEXPORT extern
 #  endif


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.