michael@0: /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nspr_symbian_defs_h___ michael@0: #define nspr_symbian_defs_h___ michael@0: michael@0: #include "prthread.h" michael@0: michael@0: /* michael@0: * Internal configuration macros michael@0: */ michael@0: michael@0: #define _PR_SI_SYSNAME "SYMBIAN" michael@0: #if defined(__WINS__) michael@0: #define _PR_SI_ARCHITECTURE "i386" michael@0: #elif defined(__arm__) michael@0: #define _PR_SI_ARCHITECTURE "arm" michael@0: #else michael@0: #error "Unknown CPU architecture" michael@0: #endif michael@0: #define PR_DLL_SUFFIX ".dll" michael@0: michael@0: #undef HAVE_STACK_GROWING_UP michael@0: michael@0: #ifdef DYNAMIC_LIBRARY michael@0: #define HAVE_DLL michael@0: #define USE_DLFCN michael@0: #endif michael@0: michael@0: #define _PR_STAT_HAS_ONLY_ST_ATIME michael@0: #define _PR_NO_LARGE_FILES michael@0: #define _PR_HAVE_SYSV_SEMAPHORES michael@0: #define PR_HAVE_SYSV_NAMED_SHARED_MEMORY michael@0: michael@0: #ifndef _PR_PTHREADS michael@0: #error "Classic NSPR is not implemented" michael@0: #endif michael@0: michael@0: extern void _MD_EarlyInit(void); michael@0: michael@0: #define _MD_EARLY_INIT _MD_EarlyInit michael@0: #define _MD_FINAL_INIT _PR_UnixInit michael@0: #define _MD_INTERVAL_USE_GTOD michael@0: michael@0: /* For writev() */ michael@0: #include michael@0: michael@0: #endif /* nspr_symbian_defs_h___ */