For building debug builds, no security ever.
This commit is contained in:
parent
b65f624d58
commit
cbe0cf7bbc
|
@ -6,6 +6,16 @@
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
#include "protect.h"
|
#include "protect.h"
|
||||||
|
|
||||||
|
#ifdef _DEBUG
|
||||||
|
|
||||||
|
//For building debug builds, no security ever
|
||||||
|
int ExecutableValid(const char *executable_filename)
|
||||||
|
{
|
||||||
|
return(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
static uint8_t *memmem(const uint8_t *haystack, size_t haystacklen, const uint8_t *needle, size_t needlelen)
|
static uint8_t *memmem(const uint8_t *haystack, size_t haystacklen, const uint8_t *needle, size_t needlelen)
|
||||||
{
|
{
|
||||||
if (needlelen)
|
if (needlelen)
|
||||||
|
@ -118,3 +128,5 @@ int ExecutableValid(const char *executable_filename)
|
||||||
|
|
||||||
return(retval);
|
return(retval);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue