Skip to content
Snippets Groups Projects
Commit 9c068965 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

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

parent 4e568ebc
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1011 passed
...@@ -25,9 +25,17 @@ ...@@ -25,9 +25,17 @@
#include "git_branch.h" #include "git_branch.h"
#include "ver.h" #include "ver.h"
extern "C" const char* git_hash = GIT_HASH; #ifdef __cplusplus
extern "C" const char* git_branch = GIT_BRANCH; extern "C" {
extern "C" const char* beta_version = " "; /* Space if non-beta, " beta" otherwise */ #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_) #if defined(_WINSOCKAPI_)
extern WSADATA WSAData; extern WSADATA WSAData;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment