mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2025-12-03 00:35:13 +02:00
disable asserts globally unless DEBUG is defined
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user