lets see if this makes osx happy by guarding the cpp code with defines

This commit is contained in:
iceman1001 2023-08-21 16:10:26 +02:00
parent 0d1b86cc46
commit 456af75b78
2 changed files with 16 additions and 0 deletions

View file

@ -32,6 +32,10 @@
#include "cryptolib.h"
#include "util.h"
#ifdef __cplusplus
extern "C" {
#endif
using namespace std;
#ifdef _MSC_VER
@ -852,3 +856,7 @@ int main(int argc, const char *argv[]) {
}
return 0;
}
#if defined(__cplusplus)
}
#endif

View file

@ -35,6 +35,10 @@
#include "cryptolib.h"
#include "util.h"
#ifdef __cplusplus
extern "C" {
#endif
using namespace std;
#ifdef _MSC_VER
@ -1136,3 +1140,7 @@ int main(int argc, const char *argv[]) {
}
return 0;
}
#if defined(__cplusplus)
}
#endif