pike.git/
src/
encode.c
Branch:
Tag:
Non-build tags
All tags
No tags
2000-07-07
2000-07-07 19:27:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>
86c5a2f98695b8e873755fb525d9fc6f514757b7 (
15
lines) (+
14
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Support for Solaris 2.5.1.
Rev: src/encode.c:1.62
25:
#include "version.h" #include "bignum.h"
-
RCSID("$Id: encode.c,v 1.
61
2000/07/07
01
:27:
16
hubbe
Exp $");
+
RCSID("$Id: encode.c,v 1.
62
2000/07/07
19
:27:
12
grubba
Exp $");
/* #define ENCODE_DEBUG */
35:
#define EDB(X) #endif
+
/* The sp macro conflicts with Solaris 2.5.1's <sys/conf.h>. */
+
#ifdef sp
+
#undef sp
+
#define STACKPOINTER_WAS_DEFINED
+
#endif /* sp */
+
#ifdef _AIX #include <net/nh.h> #endif
45:
#include <math.h>
+
/* Restore the sp macro */
+
#ifdef STACKPOINTER_WAS_DEFINED
+
#define sp Pike_sp
+
#undef STACK_POINTER_WAS_DEFINED
+
#endif /* STACKPOINTER_WAS_DEFINED */
+
#ifdef HAVE_FREXP #define FREXP frexp #else