1
0
Fork 0

Add Lth_stdfix.h.

master
Marrub 2016-11-21 01:05:53 -05:00
parent 46f8776c89
commit ec2c3b8e7e
2 changed files with 21 additions and 5 deletions

20
lithos_c/inc/Lth_stdfix.h Normal file
View File

@ -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

View File

@ -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) \