nsprpub/pr/include/md/_symbian.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nsprpub/pr/include/md/_symbian.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,50 @@
     1.4 +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +
     1.9 +#ifndef nspr_symbian_defs_h___
    1.10 +#define nspr_symbian_defs_h___
    1.11 +
    1.12 +#include "prthread.h"
    1.13 +
    1.14 +/*
    1.15 + * Internal configuration macros
    1.16 + */
    1.17 +
    1.18 +#define _PR_SI_SYSNAME  "SYMBIAN"
    1.19 +#if defined(__WINS__)
    1.20 +#define _PR_SI_ARCHITECTURE "i386"
    1.21 +#elif defined(__arm__)
    1.22 +#define _PR_SI_ARCHITECTURE "arm"
    1.23 +#else
    1.24 +#error "Unknown CPU architecture"
    1.25 +#endif
    1.26 +#define PR_DLL_SUFFIX		".dll"
    1.27 +
    1.28 +#undef	HAVE_STACK_GROWING_UP
    1.29 +
    1.30 +#ifdef DYNAMIC_LIBRARY
    1.31 +#define HAVE_DLL
    1.32 +#define USE_DLFCN
    1.33 +#endif
    1.34 +
    1.35 +#define _PR_STAT_HAS_ONLY_ST_ATIME
    1.36 +#define _PR_NO_LARGE_FILES
    1.37 +#define _PR_HAVE_SYSV_SEMAPHORES
    1.38 +#define PR_HAVE_SYSV_NAMED_SHARED_MEMORY
    1.39 +
    1.40 +#ifndef _PR_PTHREADS
    1.41 +#error "Classic NSPR is not implemented"
    1.42 +#endif
    1.43 +
    1.44 +extern void _MD_EarlyInit(void);
    1.45 +
    1.46 +#define _MD_EARLY_INIT                  _MD_EarlyInit
    1.47 +#define _MD_FINAL_INIT                  _PR_UnixInit
    1.48 +#define _MD_INTERVAL_USE_GTOD
    1.49 +
    1.50 +/* For writev() */
    1.51 +#include <sys/uio.h>
    1.52 +
    1.53 +#endif /* nspr_symbian_defs_h___ */

mercurial