epoc32/include/stdapis/staticlibinit_gcce.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 0 061f57f2323e
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     1 /*
     2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:
    15 * Name        : staticlibinit_gcce.h
    16 * Part of     : libc library
    17 * Used to remove the static library linking problem on gcce platform
    18 * Version     : 1.0
    19 * All rights reserved.
    20 * Redistribution and use in source and binary forms, with or without 
    21 * modification, are permitted provided that the following conditions are met:
    22 * Redistributions of source code must retain the above copyright notice, this 
    23 * list of conditions and the following disclaimer. 
    24 * Redistributions in binary form must reproduce the above copyright notice, 
    25 * this list of conditions and the following disclaimer in the documentation 
    26 * and/or other materials provided with the distribution. 
    27 * Neither the name of the <ORGANIZATION> nor the names of its contributors 
    28 * may be used to endorse or promote products derived from this software 
    29 * without specific prior written permission. 
    30 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
    31 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
    32 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
    33 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
    34 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
    35 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
    36 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
    37 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    38 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
    39 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    40 *
    41 */
    42 
    43 
    44 
    45 #ifndef STATIC_LIB_INIT_GCCE_H
    46 #define STATIC_LIB_INIT_GCCE_H
    47 
    48 #include <e32def.h>
    49 #pragma once
    50 
    51 /*
    52  *It'a dummy method used to fix GCCE toolchain problem for static libraries.
    53  */
    54 #ifdef __GCCE__
    55 extern "C" GLDEF_C int __GccGlueInit();
    56 void _GcceInit()
    57    {
    58    __GccGlueInit();
    59    }
    60 #endif // __GCCE__
    61 
    62 #endif //STATIC_LIB_INIT_GCCE_H
    63 
    64 // End of file