mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-23 00:51:51 +00:00
Build fix for GCC 4.4 (eg. el6).
This commit is contained in:
parent
98d535b8b1
commit
52dc41e30e
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user