mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
Pre-include libyasm/coretype.h to avoid #defining functions such as
yasm__strsep() (here) before their prototypes are declared (in coretype.h). Header protections keep coretype.h from being included again (from libyasm.h). svn path=/trunk/yasm/; revision=948
This commit is contained in:
parent
2f3f398762
commit
b6a212e199
1 changed files with 3 additions and 1 deletions
4
util.h
4
util.h
|
|
@ -1,4 +1,4 @@
|
|||
/* $IdPath: yasm/util.h,v 1.51 2003/05/04 20:28:28 peter Exp $
|
||||
/* $IdPath: yasm/util.h,v 1.52 2003/05/05 03:42:08 peter Exp $
|
||||
* YASM utility functions.
|
||||
*
|
||||
* Includes standard headers and defines prototypes for replacement functions
|
||||
|
|
@ -51,6 +51,8 @@
|
|||
# include <assert.h>
|
||||
#endif
|
||||
|
||||
#include <libyasm/coretype.h>
|
||||
|
||||
#ifdef lint
|
||||
# define _(String) String
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue