For building debug builds, no security ever.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@520 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
310d8ec901
commit
096668b837
|
@ -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