Fix typo: _GNUC_ -> __GNUC__

svn path=/trunk/; revision=23958
This commit is contained in:
Hervé Poussineau 2006-09-07 13:47:14 +00:00
parent 861ae4bcca
commit 8f329a8565

View file

@ -5,7 +5,7 @@
* Use these to place a function in a specific section of the executable * Use these to place a function in a specific section of the executable
*/ */
#define PLACE_IN_SECTION(s) __attribute__((section (s))) #define PLACE_IN_SECTION(s) __attribute__((section (s)))
#ifdef _GNUC_ #ifdef __GNUC__
#define INIT_FUNCTION PLACE_IN_SECTION("init") #define INIT_FUNCTION PLACE_IN_SECTION("init")
#define PAGE_LOCKED_FUNCTION PLACE_IN_SECTION("pagelk") #define PAGE_LOCKED_FUNCTION PLACE_IN_SECTION("pagelk")
#define PAGE_UNLOCKED_FUNCTION PLACE_IN_SECTION("pagepo") #define PAGE_UNLOCKED_FUNCTION PLACE_IN_SECTION("pagepo")