Skip to content
Snippets Groups Projects
Commit ba7ca764 authored by rswindell's avatar rswindell
Browse files

Wrap the GCC pramgas in ifdefs

parent b894bf97
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
#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>
#if defined(__GNUC_)
#pragma GCC diagnostic pop
#endif
#define JS_DestroyScript(cx,script)
#define JSSTRING_TO_RASTRING(cx, str, ret, sizeptr, lenptr) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment