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 ba7ca764 authored by rswindell's avatar rswindell

Wrap the GCC pramgas in ifdefs

parent b894bf97
......@@ -105,12 +105,16 @@ extern int thread_suid_broken; /* NPTL is no longer broken */
#if defined(JAVASCRIPT)
#include "comio.h" /* needed for COM_HANDLE definition only */
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmisleading-indentation"
#pragma GCC diagnostic ignored "-Wignored-attributes"
#if defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmisleading-indentation"
#pragma GCC diagnostic ignored "-Wignored-attributes"
#endif
#include <jsversion.h>
#include <jsapi.h>
#pragma GCC diagnostic pop
#if defined(__GNUC_)
#pragma GCC diagnostic pop
#endif
#define JS_DestroyScript(cx,script)
#define JSSTRING_TO_RASTRING(cx, str, ret, sizeptr, lenptr) \
......
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