Commit 9c068965 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

When #included in jsdoor.c (!) this is compiled as C, not C++

parent 4e568ebc
Pipeline #1011 passed with stage
in 17 minutes and 33 seconds
......@@ -25,9 +25,17 @@
#include "git_branch.h"
#include "ver.h"
extern "C" const char* git_hash = GIT_HASH;
extern "C" const char* git_branch = GIT_BRANCH;
extern "C" const char* beta_version = " "; /* Space if non-beta, " beta" otherwise */
#ifdef __cplusplus
extern "C" {
#endif
const char* git_hash = GIT_HASH;
const char* git_branch = GIT_BRANCH;
const char* beta_version = " "; /* Space if non-beta, " beta" otherwise */
#ifdef __cplusplus
}
#endif
#if defined(_WINSOCKAPI_)
extern WSADATA WSAData;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment