Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit c7fcf091 authored by deuce's avatar deuce

Silly hack to allow MOZJS use with mingw32.

parent 2b4a2e0a
......@@ -54,6 +54,11 @@
#ifndef jstypes_h___
#define jstypes_h___
#ifndef _MSC_VER
#define _MSC_VER 1399
#define DEFINED_MSC_VER
#endif
#include <stddef.h>
#include "js-config.h"
......@@ -202,10 +207,10 @@
#ifndef JS_ALWAYS_INLINE
# if defined DEBUG
# define JS_ALWAYS_INLINE JS_INLINE
# elif defined _MSC_VER
# define JS_ALWAYS_INLINE __forceinline
# elif defined __GNUC__
# define JS_ALWAYS_INLINE __attribute__((always_inline)) JS_INLINE
# elif defined _MSC_VER
# define JS_ALWAYS_INLINE __forceinline
# else
# define JS_ALWAYS_INLINE JS_INLINE
# endif
......@@ -504,4 +509,8 @@ typedef JSUintPtr JSUword;
JS_END_EXTERN_C
#ifdef DEFINED_MSC_VER
#undef _MSC_VER
#endif
#endif /* jstypes_h___ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment