diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /nsprpub/pr/include/md/_symbian.h | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'nsprpub/pr/include/md/_symbian.h')
-rw-r--r-- | nsprpub/pr/include/md/_symbian.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/nsprpub/pr/include/md/_symbian.h b/nsprpub/pr/include/md/_symbian.h new file mode 100644 index 000000000..f88bd3859 --- /dev/null +++ b/nsprpub/pr/include/md/_symbian.h @@ -0,0 +1,50 @@ +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +#ifndef nspr_symbian_defs_h___ +#define nspr_symbian_defs_h___ + +#include "prthread.h" + +/* + * Internal configuration macros + */ + +#define _PR_SI_SYSNAME "SYMBIAN" +#if defined(__WINS__) +#define _PR_SI_ARCHITECTURE "i386" +#elif defined(__arm__) +#define _PR_SI_ARCHITECTURE "arm" +#else +#error "Unknown CPU architecture" +#endif +#define PR_DLL_SUFFIX ".dll" + +#undef HAVE_STACK_GROWING_UP + +#ifdef DYNAMIC_LIBRARY +#define HAVE_DLL +#define USE_DLFCN +#endif + +#define _PR_STAT_HAS_ONLY_ST_ATIME +#define _PR_NO_LARGE_FILES +#define _PR_HAVE_SYSV_SEMAPHORES +#define PR_HAVE_SYSV_NAMED_SHARED_MEMORY + +#ifndef _PR_PTHREADS +#error "Classic NSPR is not implemented" +#endif + +extern void _MD_EarlyInit(void); + +#define _MD_EARLY_INIT _MD_EarlyInit +#define _MD_FINAL_INIT _PR_UnixInit +#define _MD_INTERVAL_USE_GTOD + +/* For writev() */ +#include <sys/uio.h> + +#endif /* nspr_symbian_defs_h___ */ |