added command line, added basic character
This commit is contained in:
@@ -1,10 +1,19 @@
|
||||
#ifndef TIER0_STDLIB_H
|
||||
#define TIER0_STDLIB_H
|
||||
|
||||
#include "tier0/minmax.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include "stdint.h"
|
||||
#include "string.h"
|
||||
#include "stdio.h"
|
||||
#include "stdlib.h"
|
||||
#else
|
||||
#include "stdint.h"
|
||||
#include "string.h"
|
||||
#include "stdio.h"
|
||||
#include "stdlib.h"
|
||||
#endif
|
||||
|
||||
// TODO: bad stuff, reimplement it
|
||||
|
||||
|
||||
8
public/tier0/minmax.h
Normal file
8
public/tier0/minmax.h
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
#ifdef min
|
||||
#undef min
|
||||
#undef max
|
||||
#endif
|
||||
|
||||
#define max(x, y) (((x) > (y)) ? (x) : (y))
|
||||
#define min(x, y) (((x) < (y)) ? (x) : (y))
|
||||
4
public/tier0/minmax_off.h
Normal file
4
public/tier0/minmax_off.h
Normal file
@@ -0,0 +1,4 @@
|
||||
#ifdef min
|
||||
#undef min
|
||||
#undef max
|
||||
#endif
|
||||
Reference in New Issue
Block a user