From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- nsprpub/pr/include/md/_symbian.h | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 nsprpub/pr/include/md/_symbian.h (limited to 'nsprpub/pr/include/md/_symbian.h') 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 + +#endif /* nspr_symbian_defs_h___ */ -- cgit v1.2.3