Add Lth_stdfix.h.
parent
46f8776c89
commit
ec2c3b8e7e
|
@ -0,0 +1,20 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright © 2016 Project Golan
|
||||
//
|
||||
// See "LICENSE" for more information.
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Define fixed because it breaks our code.
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef lithos3__Lth_stdfix_h
|
||||
#define lithos3__Lth_stdfix_h
|
||||
|
||||
#define fixed
|
||||
#include <stdfix.h>
|
||||
#undef fixed
|
||||
|
||||
#endif//lithos3__Lth_stdfix_h
|
|
@ -12,14 +12,10 @@
|
|||
|
||||
#include "Lth.h"
|
||||
|
||||
// Define fixed so it is not aliased (this breaks our code).
|
||||
#define fixed
|
||||
#include <stdfix.h>
|
||||
#undef fixed
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <setjmp.h>
|
||||
#include "Lth_stdfix.h"
|
||||
|
||||
#define GenAlloc(name, type) \
|
||||
if(rsrc->vec##name.size) \
|
||||
|
|
Loading…
Reference in New Issue