0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 18:41:52 +00:00

fix mutex issue and c++11 support on Ubuntu — remove stray EOL marker

This commit is contained in:
Patrick Reilly 2013-05-15 12:21:38 -07:00
parent 6f44220328
commit 4a82311b4d
2 changed files with 3 additions and 2 deletions

View File

@ -67,7 +67,7 @@ LDFLAGS=$old_LDFLAGS
AC_DEFINE_UNQUOTED([PHP_V8_VERSION], "$ac_cv_v8_version", [ ]) AC_DEFINE_UNQUOTED([PHP_V8_VERSION], "$ac_cv_v8_version", [ ])
fi fi
PHP_NEW_EXTENSION(v8js, v8js.cc v8js_convert.cc v8js_methods.cc v8js_variables.cc v8js_commonjs.cc, $ext_shared, , "-std=c++0x") PHP_NEW_EXTENSION(v8js, v8js.cc v8js_convert.cc v8js_methods.cc v8js_variables.cc v8js_commonjs.cc, $ext_shared, , "-std=c++11")
PHP_ADD_MAKEFILE_FRAGMENT PHP_ADD_MAKEFILE_FRAGMENT
fi fi

View File

@ -17,7 +17,7 @@
+----------------------------------------------------------------------+ +----------------------------------------------------------------------+
*/ */
/* $Id$ */¬ /* $Id$ */
#ifndef PHP_V8JS_MACROS_H #ifndef PHP_V8JS_MACROS_H
#define PHP_V8JS_MACROS_H #define PHP_V8JS_MACROS_H
@ -35,6 +35,7 @@ extern "C" {
#include <map> #include <map>
#include <vector> #include <vector>
#include <mutex>
/* V8Js Version */ /* V8Js Version */
#define V8JS_VERSION "0.1.3" #define V8JS_VERSION "0.1.3"