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

Fixed JSexec build warning with MSVC2013:

undeclared JS_CreateCommonObjects():
... since we're building JSexec without USE_CRYPTLIB defined.
parent 4a868538
No related branches found
No related tags found
No related merge requests found
...@@ -1205,7 +1205,6 @@ extern "C" { ...@@ -1205,7 +1205,6 @@ extern "C" {
DLLEXPORT JSBool DLLCALL js_DefineConstIntegers(JSContext* cx, JSObject* obj, jsConstIntSpec*, int flags); DLLEXPORT JSBool DLLCALL js_DefineConstIntegers(JSContext* cx, JSObject* obj, jsConstIntSpec*, int flags);
DLLEXPORT JSBool DLLCALL js_CreateArrayOfStrings(JSContext* cx, JSObject* parent DLLEXPORT JSBool DLLCALL js_CreateArrayOfStrings(JSContext* cx, JSObject* parent
,const char* name, char* str[], unsigned flags); ,const char* name, char* str[], unsigned flags);
#ifdef USE_CRYPTLIB
DLLEXPORT BOOL DLLCALL js_CreateCommonObjects(JSContext* cx DLLEXPORT BOOL DLLCALL js_CreateCommonObjects(JSContext* cx
,scfg_t* cfg /* common */ ,scfg_t* cfg /* common */
,scfg_t* node_cfg /* node-specific */ ,scfg_t* node_cfg /* node-specific */
...@@ -1217,11 +1216,14 @@ extern "C" { ...@@ -1217,11 +1216,14 @@ extern "C" {
,js_startup_t* /* js */ ,js_startup_t* /* js */
,client_t* client /* client */ ,client_t* client /* client */
,SOCKET client_socket /* client */ ,SOCKET client_socket /* client */
#ifdef USE_CRYPTLIB
,CRYPT_CONTEXT session /* client */ ,CRYPT_CONTEXT session /* client */
#else
,int unused
#endif
,js_server_props_t* props /* server */ ,js_server_props_t* props /* server */
,JSObject** glob ,JSObject** glob
); );
#endif
/* js_server.c */ /* js_server.c */
DLLEXPORT JSObject* DLLCALL js_CreateServerObject(JSContext* cx, JSObject* parent DLLEXPORT JSObject* DLLCALL js_CreateServerObject(JSContext* cx, JSObject* parent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment