1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-10-23 23:00:20 +00:00

minor 'DEBUG' refactoring

- for debug builds, the LAIKA_DEBUG_BUILD macro will be defined in lconfig.h
- LAIKA_OBFUSCATE now controls the winobf IAT obfuscation as well
This commit is contained in:
2022-10-05 20:36:49 -05:00
parent 7ec814525c
commit 3316c77667
17 changed files with 35 additions and 28 deletions

View File

@@ -1,6 +1,7 @@
#ifndef LAIKA_PACKET_H
#define LAIKA_PACKET_H
#include "lconfig.h"
#include <inttypes.h>
#define LAIKA_MAGIC "LAI\x12"
@@ -121,7 +122,7 @@ enum
typedef uint8_t LAIKAPKT_ID;
typedef uint16_t LAIKAPKT_SIZE;
#ifdef DEBUG
#ifdef LAIKA_DEBUG_BUILD
const char *laikaD_getPacketName(LAIKAPKT_ID);
#endif