graphics_plat/m3g_core_api/inc/M3G/m3g_core.h
changeset 36 01a6848ebfd7
parent 0 5d03bc08d59c
child 45 36b2e23a8629
equal deleted inserted replaced
0:5d03bc08d59c 36:01a6848ebfd7
    29  * This can be overlaid by an additional layer providing the actual
    29  * This can be overlaid by an additional layer providing the actual
    30  * API for different languages; for the JSR184 API, this is the Java
    30  * API for different languages; for the JSR184 API, this is the Java
    31  * binding layer.
    31  * binding layer.
    32  */
    32  */
    33 
    33 
    34 #if defined (__ARMCC_2_2__)
    34 #if (__ARMCC_VERSION >= 220000)
    35 #   define M3G_API __declspec(dllimport)
    35 #   if defined(M3G_BUILD_DLL)
    36 #endif
    36 #       define M3G_API __declspec(dllexport)
    37 
    37 #   else
    38 #if defined(M3G_BUILD_DLL)
    38 #       define M3G_API __declspec(dllimport)
    39 #   define M3G_API __declspec(dllexport)
    39 #   endif
    40 #endif
    40 #else
    41     
    41 #   if defined(M3G_BUILD_DLL)
    42 #if !defined(M3G_API)
    42 #       define M3G_API __declspec(dllexport)
    43 #   define M3G_API
    43 #   else
       
    44 #       define M3G_API
       
    45 #   endif
    44 #endif
    46 #endif
    45     
    47     
    46 /*----------------------------------------------------------------------
    48 /*----------------------------------------------------------------------
    47  * Enumerated constants
    49  * Enumerated constants
    48  *--------------------------------------------------------------------*/
    50  *--------------------------------------------------------------------*/