1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 04:07:58 +01:00

Windows binaries and stuff.

This commit is contained in:
Kris Maglione
2011-09-24 14:34:54 -04:00
parent 0aa21f15c1
commit ef965d7681
8 changed files with 31 additions and 17 deletions

View File

@@ -40,9 +40,7 @@
#ifndef mozJSLoaderUtils_h
#define mozJSLoaderUtils_h
#if defined(GECKO_MAJOR) && GECKO_MAJOR < 9
#endif
#include "config.h"
/*
* This is evil. Very evil.
@@ -59,12 +57,14 @@
# define JS_XDRScript JS_XDRScriptObject
typedef JSObject JSScriptType;
# if GECKO_MAJOR < 8
# define NewObjectInputStreamFromBuffer NS_NewObjectInputStreamFromBuffer
# define NewBufferFromStorageStream NS_NewBufferFromStorageStream
# if GECKO_MAJOR > 6
# define NewObjectOutputWrappedStorageStream NS_NewObjectOutputWrappedStorageStream
# else
# define NewObjectOutputWrappedStorageStream(a, b, c) NS_NewObjectOutputWrappedStorageStream((a), (b))
# if GECKO_MAJOR > 6
# define NewObjectOutputWrappedStorageStream NS_NewObjectOutputWrappedStorageStream
# else
# define NewObjectOutputWrappedStorageStream(a, b, c) NS_NewObjectOutputWrappedStorageStream((a), (b))
# endif
# endif
#else
typedef JSScript JSScriptType;