mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +00:00
Fix compilation on OpenBSD
This commit is contained in:
parent
ce4b748ff0
commit
36b910a253
2 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,7 @@
|
|||
|
||||
////////// Platform headers //////////
|
||||
|
||||
#if !defined __APPLE__ && (!defined EDUKE32_BSD || !__STDC__)
|
||||
#if !defined __APPLE__ && (!defined EDUKE32_BSD || !__STDC__) && !defined __OpenBSD__ && !defined __DragonFly__
|
||||
# include <malloc.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#pragma once
|
||||
#include <stdarg.h>
|
||||
|
||||
#if defined __GNUC__ || defined __clang__
|
||||
# define ATTRIBUTE(attrlist) __attribute__(attrlist)
|
||||
|
|
Loading…
Reference in a new issue