PageRenderTime 29ms CodeModel.GetById 22ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/xbmc/visualizations/Vortex/angelscript/angelscript/source/as_debug.h

http://github.com/xbmc/xbmc
C++ Header | 59 lines | 14 code | 10 blank | 35 comment | 0 complexity | 2780d416519b3d227a52bcdb5026bb7c MD5 | raw file
 1/*
 2   AngelCode Scripting Library
 3   Copyright (c) 2003-2007 Andreas Jonsson
 4
 5   This software is provided 'as-is', without any express or implied 
 6   warranty. In no event will the authors be held liable for any 
 7   damages arising from the use of this software.
 8
 9   Permission is granted to anyone to use this software for any 
10   purpose, including commercial applications, and to alter it and 
11   redistribute it freely, subject to the following restrictions:
12
13   1. The origin of this software must not be misrepresented; you 
14      must not claim that you wrote the original software. If you use
15      this software in a product, an acknowledgment in the product 
16      documentation would be appreciated but is not required.
17
18   2. Altered source versions must be plainly marked as such, and 
19      must not be misrepresented as being the original software.
20
21   3. This notice may not be removed or altered from any source 
22      distribution.
23
24   The original version of this library can be located at:
25   http://www.angelcode.com/angelscript/
26
27   Andreas Jonsson
28   andreas@angelcode.com
29*/
30
31
32//
33// as_debug.h
34//
35
36#ifndef AS_DEBUG_H
37#define AS_DEBUG_H
38
39#ifndef AS_WII
40// The Wii SDK doesn't have these, we'll survive without AS_DEBUG
41
42#ifndef _WIN32_WCE
43// Neither does WinCE
44
45
46#if defined(__GNUC__) 
47// Define mkdir for GNUC
48#include <sys/stat.h>
49#include <sys/types.h>
50#define _mkdir(dirname) mkdir(dirname, S_IRWXU)
51#else
52#include <direct.h>
53#endif
54#endif
55#endif
56
57#endif
58
59