OSSP CVS Repository

ossp - Check-in [5516]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 5516
Date: 2006-Jul-24 21:21:49 (local)
2006-Jul-24 19:21:49 (UTC)
User:rse
Branch:
Comment: Move definitions of XP_UNIX and EXPORT_JS_API back from jstypes.h to configure.ac (and this way the command-line) to not break the use of jstypes.h as a regular API header in JS based applications.
Tickets:
Inspections:
Files:
ossp-pkg/js/configure.ac      1.13 -> 1.14     1 inserted, 1 deleted
ossp-pkg/js/src/jstypes.h      1.3 -> 1.4     0 inserted, 6 deleted

ossp-pkg/js/configure.ac 1.13 -> 1.14

--- configure.ac 2006/07/23 18:34:15     1.13
+++ configure.ac 2006/07/24 19:21:49     1.14
@@ -45,7 +45,7 @@
 AC_CHECK_LIB(socket, accept)
 AC_CHECK_LIB(m, floor)
 
-CPPFLAGS="$CPPFLAGS -DOSSP"
+CPPFLAGS="$CPPFLAGS -DOSSP -DXP_UNIX -DEXPORT_JS_API"
 
 dnl #   configure option --with-version
 AC_ARG_WITH([version],


ossp-pkg/js/src/jstypes.h 1.3 -> 1.4

--- jstypes.h    2006/07/22 16:47:14     1.3
+++ jstypes.h    2006/07/24 19:21:49     1.4
@@ -56,12 +56,6 @@
 
 #include <stddef.h>
 
-#ifdef OSSP
-/* select functionality */
-#define XP_UNIX
-#define EXPORT_JS_API
-#endif
-
 /***********************************************************************
 ** MACROS:      JS_EXTERN_API
 **              JS_EXPORT_API

CVSTrac 2.0.1