nsprpub/pr/include/md/_symbian.h

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
     2 /* This Source Code Form is subject to the terms of the Mozilla Public
     3  * License, v. 2.0. If a copy of the MPL was not distributed with this
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 #ifndef nspr_symbian_defs_h___
     7 #define nspr_symbian_defs_h___
     9 #include "prthread.h"
    11 /*
    12  * Internal configuration macros
    13  */
    15 #define _PR_SI_SYSNAME  "SYMBIAN"
    16 #if defined(__WINS__)
    17 #define _PR_SI_ARCHITECTURE "i386"
    18 #elif defined(__arm__)
    19 #define _PR_SI_ARCHITECTURE "arm"
    20 #else
    21 #error "Unknown CPU architecture"
    22 #endif
    23 #define PR_DLL_SUFFIX		".dll"
    25 #undef	HAVE_STACK_GROWING_UP
    27 #ifdef DYNAMIC_LIBRARY
    28 #define HAVE_DLL
    29 #define USE_DLFCN
    30 #endif
    32 #define _PR_STAT_HAS_ONLY_ST_ATIME
    33 #define _PR_NO_LARGE_FILES
    34 #define _PR_HAVE_SYSV_SEMAPHORES
    35 #define PR_HAVE_SYSV_NAMED_SHARED_MEMORY
    37 #ifndef _PR_PTHREADS
    38 #error "Classic NSPR is not implemented"
    39 #endif
    41 extern void _MD_EarlyInit(void);
    43 #define _MD_EARLY_INIT                  _MD_EarlyInit
    44 #define _MD_FINAL_INIT                  _PR_UnixInit
    45 #define _MD_INTERVAL_USE_GTOD
    47 /* For writev() */
    48 #include <sys/uio.h>
    50 #endif /* nspr_symbian_defs_h___ */

mercurial