SLikeNet  0.1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
alloca.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014, Oculus VR, Inc.
3  * All rights reserved.
4  *
5  * This source code is licensed under the BSD-style license found in the
6  * RakNet License.txt file in the licenses directory of this source tree. An additional grant
7  * of patent rights can be found in the RakNet Patents.txt file in the same directory.
8  *
9  */
10 
11 #if defined(__FreeBSD__)
12 #include <stdlib.h>
13 
14 
15 
16 
17 #elif defined ( __APPLE__ ) || defined ( __APPLE_CC__ )
18 #include <malloc/malloc.h>
19 #include <alloca.h>
20 #elif defined(_WIN32)
21 #include <malloc.h>
22 #else
23 #include <malloc.h>
24 // Alloca needed on Ubuntu apparently
25 #include <alloca.h>
26 #endif