epoc32/include/GLES/glplatform.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 #ifndef __glplatform_h_
     1 #ifndef __glplatform_h_
     2 #define __glplatform_h_
     2 #define __glplatform_h_
     3 
     3 
     4 /**
     4 /**
     5 Portions Copyright (c) Symbian Software Ltd 2008.  All rights reserved.
     5  portions Copyright (c) 2008 - 2009 Nokia Corporation. All rights reserved.
     6 @publishedAll
     6 @publishedAll
     7 @released
     7 @released
     8 */
     8 */
     9 
     9 
    10 #ifdef __cplusplus
    10 #ifdef __cplusplus
    61 #       define GL_API __declspec(dllexport)
    61 #       define GL_API __declspec(dllexport)
    62 #   else
    62 #   else
    63 #       define GL_API __declspec(dllimport)
    63 #       define GL_API __declspec(dllimport)
    64 #   endif
    64 #   endif
    65 #else
    65 #else
    66 #   if defined (__ARMCC_2_2__)
    66 #   if (__ARMCC_VERSION >= 220000)
    67 #   	ifdef __GL_EXPORTS
    67 #   	ifdef __GL_EXPORTS
    68 #	    	define GL_API __declspec(dllexport)
    68 #	    	define GL_API __declspec(dllexport)
    69 #   	else
    69 #   	else
    70 #	    	define GL_API __declspec(dllimport)
    70 #	    	define GL_API __declspec(dllimport)
    71 #   	endif
    71 #   	endif