0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-09-19 01:35:18 +00:00

Build fix for GCC 4.4 (eg. el6).

This commit is contained in:
Taneli Leppa 2014-03-19 16:24:24 +02:00
parent 98d535b8b1
commit 52dc41e30e

View File

@ -16,6 +16,10 @@
#ifndef PHP_V8JS_MACROS_H
#define PHP_V8JS_MACROS_H
#if __GNUC__ == 4 && __GNUC_MINOR__ == 4
#define _GLIBCXX_USE_NANOSLEEP 1
#endif
extern "C" {
#include "php.h"
#include "php_v8js.h"