OSSP CVS Repository

ossp - Difference in ossp-pkg/js/src/prmjtime.h versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/js/src/prmjtime.h 1.1 -> 1.2

--- prmjtime.h   2004/12/09 01:32:19     1.1
+++ prmjtime.h   2006/07/22 13:48:03     1.2
@@ -49,6 +49,14 @@
 #include "jscompat.h"
 #endif
 
+#ifdef OSSP
+/* avoid namespace pollution */
+#define PRMJ_Now                js_PRMJ_Now
+#define PRMJ_LocalGMTDifference js_PRMJ_LocalGMTDifference
+#define PRMJ_FormatTime         js_PRMJ_FormatTime
+#define PRMJ_DSTOffset          js_PRMJ_DSTOffset
+#endif
+
 JS_BEGIN_EXTERN_C
 
 typedef struct PRMJTime       PRMJTime;

CVSTrac 2.0.1