summaryrefslogtreecommitdiff
path: root/examples/DLL/Newsweek.cpp
diff options
context:
space:
mode:
authorkirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-11-29 02:52:18 +0000
committerkirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-11-29 02:52:18 +0000
commitc6b92f97528ee27e734c73f6d5cf516499148d81 (patch)
tree8ee891f31179a825412f215728698c33a099466d /examples/DLL/Newsweek.cpp
parent8c26d0fd757183ee496f283de4be057ea05ab847 (diff)
downloadATCD-c6b92f97528ee27e734c73f6d5cf516499148d81.tar.gz
*** empty log message ***
Diffstat (limited to 'examples/DLL/Newsweek.cpp')
-rw-r--r--examples/DLL/Newsweek.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/DLL/Newsweek.cpp b/examples/DLL/Newsweek.cpp
index 95c9eeee6aa..6aaf12ff441 100644
--- a/examples/DLL/Newsweek.cpp
+++ b/examples/DLL/Newsweek.cpp
@@ -2,6 +2,9 @@
#include "Newsweek.h"
+// This declaration necessary to get thi sworking on NT.
+#if defined (ACE_HAS_WIN32)
+
#ifdef __cplusplus
extern "C" { // only need to export C interface if
// used by C++ source code
@@ -13,6 +16,8 @@ extern "C" { // only need to export C interface if
}
#endif
+#endif
+
// Implementation of the abstract class method which describes
// the magazine.
void Newsweek::title (void)