Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Commit [7913ba] Maximize Restore History

Change package name from wtk/wtkplus to wtklite.

--HG--
rename : wtkplus.h => wtklite.h

Keith Marshall Keith Marshall 2012-10-11

changed ChangeLog
changed Makefile.in
changed configure.ac
changed dlgproc.cpp
changed sashctrl.cpp
changed strres.cpp
changed wndproc.cpp
changed wtkbase.cpp
changed wtkchild.cpp
changed wtkexcept.h
changed wtkmain.cpp
copied wtkplus.h -> wtklite.h
ChangeLog Diff Switch to side-by-side view
Loading...
Makefile.in Diff Switch to side-by-side view
Loading...
configure.ac Diff Switch to side-by-side view
Loading...
dlgproc.cpp Diff Switch to side-by-side view
Loading...
sashctrl.cpp Diff Switch to side-by-side view
Loading...
strres.cpp Diff Switch to side-by-side view
Loading...
wndproc.cpp Diff Switch to side-by-side view
Loading...
wtkbase.cpp Diff Switch to side-by-side view
Loading...
wtkchild.cpp Diff Switch to side-by-side view
Loading...
wtkexcept.h Diff Switch to side-by-side view
Loading...
wtkmain.cpp Diff Switch to side-by-side view
Loading...
wtkplus.h to wtklite.h
--- a/wtkplus.h
+++ b/wtklite.h
@@ -1,6 +1,6 @@
-#ifndef WTKPLUS_H
+#ifndef WTKLITE_H
 /*
- * wtkplus.h
+ * wtklite.h
  *
  * ---------------------------------------------------------------------------
  *
@@ -39,11 +39,18 @@
  * ---------------------------------------------------------------------------
  *
  */
-#define WTKPLUS_H  1
+#define WTKLITE_H  1
 
 #include <stdlib.h>
 #include <windows.h>
 #include "wtkexcept.h"
+
+/* This header file is primarily intended to be used only for C++.  However,
+ * configure scripts may try to compile it as C, when checking availability;
+ * thus, we ignore C++ specific content when compiling as C, to ensure that
+ * configure doesn't choke in such cases.
+ */
+#ifdef __cplusplus
 
 namespace WTK
 {
@@ -297,4 +304,5 @@
   };
 }
 
-#endif /* ! WTKPLUS_H: $RCSfile$: end of file */
+#endif /* __cplusplus */
+#endif /* ! WTKLITE_H: $RCSfile$: end of file */