mirror of
https://github.com/xtexChooser/WindowsXPKg.git
synced 2024-10-04 03:27:53 +00:00
disable asserts globally unless DEBUG is defined
This commit is contained in:
parent
166a0b5df7
commit
3f95974e61
2 changed files with 6 additions and 2 deletions
|
@ -4,8 +4,6 @@
|
|||
|
||||
#include "header.h"
|
||||
|
||||
#define assert(x) /*nothing*/
|
||||
|
||||
typedef int64_t i64;
|
||||
typedef uint64_t ui64;
|
||||
|
||||
|
|
|
@ -5,11 +5,17 @@
|
|||
#ifndef WINDOWSXPKG_HEADER_H
|
||||
#define WINDOWSXPKG_HEADER_H
|
||||
|
||||
#ifdef DEBUG
|
||||
#include <cassert>
|
||||
#else
|
||||
#define assert(x) /* nothing */
|
||||
#endif
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <ctime>
|
||||
|
||||
#include <random>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
|
|
Loading…
Reference in a new issue