os/ossrv/genericopenlibs/cppstdlib/stl/stlport/stdarg.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
/*
sl@0
     2
 * Copyright (c) 1999
sl@0
     3
 * Boris Fomitchev
sl@0
     4
 *
sl@0
     5
 * This material is provided "as is", with absolutely no warranty expressed
sl@0
     6
 * or implied. Any use is at your own risk.
sl@0
     7
 *
sl@0
     8
 * Permission to use or copy this software for any purpose is hereby granted
sl@0
     9
 * without fee, provided the above notices are retained on all copies.
sl@0
    10
 * Permission to modify the code and to distribute modified code is granted,
sl@0
    11
 * provided the above notices are retained, and a notice that the code was
sl@0
    12
 * modified is included with the above copyright notice.
sl@0
    13
 *
sl@0
    14
 */
sl@0
    15
sl@0
    16
/* Workaround for a "misbehaviour" when compiling resource scripts using
sl@0
    17
 * eMbedded Visual C++. The standard .rc file includes windows header files,
sl@0
    18
 * which in turn include stdarg.h, which results in warnings and errors
sl@0
    19
 */
sl@0
    20
#if !defined (RC_INVOKED)
sl@0
    21
sl@0
    22
#  if !defined (_STLP_OUTERMOST_HEADER_ID)
sl@0
    23
#    define _STLP_OUTERMOST_HEADER_ID 0x261
sl@0
    24
#    include <stl/_prolog.h>
sl@0
    25
#  elif (_STLP_OUTERMOST_HEADER_ID == 0x261) && !defined (_STLP_DONT_POP_HEADER_ID)
sl@0
    26
#    define _STLP_DONT_POP_HEADER_ID
sl@0
    27
#  endif
sl@0
    28
sl@0
    29
#  if defined(_STLP_WCE_EVC3)
sl@0
    30
struct _exception;
sl@0
    31
#  endif
sl@0
    32
sl@0
    33
#  include _STLP_NATIVE_C_HEADER(stdarg.h)
sl@0
    34
sl@0
    35
#  if (_STLP_OUTERMOST_HEADER_ID == 0x261)
sl@0
    36
#    if !defined (_STLP_DONT_POP_HEADER_ID)
sl@0
    37
#      include <stl/_epilog.h>
sl@0
    38
#      undef  _STLP_OUTERMOST_HEADER_ID
sl@0
    39
#    else
sl@0
    40
#      undef  _STLP_DONT_POP_HEADER_ID
sl@0
    41
#    endif
sl@0
    42
#  endif
sl@0
    43
#endif /* RC_INVOKED */