mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2024-12-22 20:40:16 +02:00
disable asserts globally unless DEBUG is defined
This commit is contained in:
parent
166a0b5df7
commit
3f95974e61
@ -4,8 +4,6 @@
|
|||||||
|
|
||||||
#include "header.h"
|
#include "header.h"
|
||||||
|
|
||||||
#define assert(x) /*nothing*/
|
|
||||||
|
|
||||||
typedef int64_t i64;
|
typedef int64_t i64;
|
||||||
typedef uint64_t ui64;
|
typedef uint64_t ui64;
|
||||||
|
|
||||||
|
@ -5,11 +5,17 @@
|
|||||||
#ifndef WINDOWSXPKG_HEADER_H
|
#ifndef WINDOWSXPKG_HEADER_H
|
||||||
#define WINDOWSXPKG_HEADER_H
|
#define WINDOWSXPKG_HEADER_H
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
#else
|
||||||
|
#define assert(x) /* nothing */
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
|
|
||||||
#include <random>
|
#include <random>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
Loading…
Reference in New Issue
Block a user