/usr/include/opencollada/COLLADABaseUtils/COLLADABUPlatform.h is in opencollada-dev 0.1.0~20140703.ddf8f47+dfsg1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | /*
Copyright (c) 2008-2009 NetAllied Systems GmbH
This file is part of COLLADABaseUtils.
Licensed under the MIT Open Source License,
for details please see LICENSE file or the website
http://www.opensource.org/licenses/mit-license.php
*/
#ifndef __COLLADABU_PLATTFORM_H__
#define __COLLADABU_PLATTFORM_H__
#if (defined(__APPLE__) || defined(OSMac_)) && (defined(__GNUC__) || defined(__xlC__) || defined(__xlc__)) || defined(__APPLE_CC__)
# define COLLADABU_OS_MAC
# ifdef __LP64__
# define COLLADABU_OS_MAC64
# else
# define COLLADABU_OS_MAC32
# endif
#elif (defined(WIN64) || defined(_WIN64) || defined(__WIN64__))
# define COLLADABU_OS_WIN64
#elif (defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__))
# define COLLADABU_OS_WIN32
#elif defined(__linux__) || defined(__linux) || defined(__FreeBSD__)
# define COLLADABU_OS_LINUX
#endif
#if defined(COLLADABU_OS_WIN32) || defined(COLLADABU_OS_WIN64)
# define COLLADABU_OS_WIN
#endif
// from ogre OgrePlatform.h
// Win32 compilers use _DEBUG for specifying debug builds.
// Unlike the Win32 compilers, Linux compilers seem to use DEBUG for when
// specifying a debug build.
// (??? this is wrong, on Linux debug builds aren't marked in any way unless
// you mark it yourself any way you like it -- zap ???)
#if defined(_DEBUG) || defined(DEBUG)
# define COLLADABU_DEBUG
#endif
#include <cassert>
#if defined(COLLADABU_DEBUG)
# define COLLADABU_ASSERT(cond) assert(cond);
#else
# define COLLADABU_ASSERT(cond)
#endif
#endif //__COLLADABU_PLATTFORM_H__
|