Skip to content
Snippets Groups Projects
Commit 5be52164 authored by deuce's avatar deuce
Browse files

Remove #if dance.

parent 1776d17a
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,6 @@ extern int thread_suid_broken; /* NPTL is no longer broken */
#include <sys/stat.h>
#ifdef JAVASCRIPT
#ifdef __unix__
#define XP_UNIX
#else
......@@ -110,17 +109,8 @@ extern int thread_suid_broken; /* NPTL is no longer broken */
#include <inttypes.h>
#endif
#include <jsversion.h>
#if JS_VERSION < 185
#define JS_THREADSAFE
#endif
#include <jsapi.h>
#if (JS_VERSION < 185) || (defined __cplusplus)
#include <jsprf.h> /* JS-safe sprintf functions */
#include <math.h> /* isnan() */
#endif
#if JS_VERSION >= 185
#define JS_DestroyScript(cx,script)
#endif
#define JSSTRING_TO_STRING(cx, str, ret, lenptr) \
{ \
......@@ -149,8 +139,6 @@ extern int thread_suid_broken; /* NPTL is no longer broken */
JSSTRING_TO_STRING((cx), JSVTSstr, (ret), lenptr); \
}
#endif
#ifdef USE_CRYPTLIB
#include <cryptlib.h>
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment