alloca() lives in stdlib.h on FreeBSD
This commit is contained in:
parent
51609ffc04
commit
0109fb4295
|
@ -26,7 +26,13 @@
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
#ifdef __linux__
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
|
#endif
|
||||||
|
#ifdef __FreeBSD__
|
||||||
|
#include <stdlib.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#define GLES2_INCLUDE_H "gl_context/glew.h"
|
#define GLES2_INCLUDE_H "gl_context/glew.h"
|
||||||
#define GLES1_INCLUDE_H "gl_context/glew.h"
|
#define GLES1_INCLUDE_H "gl_context/glew.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue