OSSP CVS Repository

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

Check-in Number: 5470
Date: 2006-Jul-22 19:10:02 (local)
2006-Jul-22 17:10:02 (UTC)
User:rse
Branch:
Comment: wrap with OSSP and XP_UNIX is in jstypes.h
Tickets:
Inspections:
Files:
ossp-pkg/js/src/perlconnect/JS.xs      1.2 -> 1.3     4 inserted, 0 deleted
ossp-pkg/js/src/perlconnect/Makefile.PL.in      1.2 -> 1.3     1 inserted, 1 deleted

ossp-pkg/js/src/perlconnect/JS.xs 1.2 -> 1.3

--- JS.xs        2006/07/22 15:09:45     1.2
+++ JS.xs        2006/07/22 17:10:02     1.3
@@ -61,7 +61,11 @@
 
 #include <jsapi.h>
 #include "jsperlpvt.h"
+#ifdef OSSP
 #include <stdlib.h>
+#else
+#include <malloc.h>
+#endif
 
 /* __REMOVE__ */
 /* #include <stdio.h>  */


ossp-pkg/js/src/perlconnect/Makefile.PL.in 1.2 -> 1.3

--- Makefile.PL.in       2006/07/22 15:40:04     1.2
+++ Makefile.PL.in       2006/07/22 17:10:02     1.3
@@ -3,7 +3,7 @@
 
 WriteMakefile(
     NAME         => 'JS',
-        DEFINE       => '-DXP_UNIX',
+        DEFINE       => '-DOSSP',
         INC          => "-I..",
         LIBS         => "-L../../.libs -ljs @LIBS@",
         VERSION_FROM => 'JS.pm',

CVSTrac 2.0.1