09171998 LiveConnect Carpool: build bustage.

git-svn-id: svn://10.0.0.236/trunk@10308 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
beard%netscape.com 1998-09-17 20:17:57 +00:00
parent a279be7c89
commit a6cd82d8fa

View File

@ -26,6 +26,10 @@
#define NS_UNIX 1
#endif
#if defined(XP_MAC)
#define NS_MAC 1
#endif
#include "prtypes.h"
#include "nsDebug.h"
@ -64,7 +68,7 @@ typedef PRUcs2 PRUnichar;
// is placed. It needs to be done this way to make the 4.x compiler happy...
#undef NS_EXPORT_
#define NS_EXPORT_(type) type _declspec(dllexport) __stdcall
#else
#elif defined(NS_MAC)
/* XXX do something useful? */
#define NS_IMPORT
#define NS_IMPORT_(type) type
@ -72,6 +76,13 @@ typedef PRUcs2 PRUnichar;
#define NS_EXPORT __declspec(export)
#define NS_EXPORT_(type) __declspec(export) type
#endif
#else
/* XXX do something useful? */
#define NS_IMPORT
#define NS_IMPORT_(type) type
#define NS_EXPORT
#define NS_EXPORT_(type) type
#endif
#endif
#ifdef _IMPL_NS_BASE