mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-07 16:48:15 +08:00
lets see if this makes osx happy by guarding the cpp code with defines
This commit is contained in:
parent
0d1b86cc46
commit
456af75b78
2 changed files with 16 additions and 0 deletions
|
@ -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
|
|
@ -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
|
Loading…
Reference in a new issue