From c21e7a7832f76260a27c5bde30f9593355909279 Mon Sep 17 00:00:00 2001 From: Andrew Fish Date: Tue, 9 Sep 2014 21:59:08 +0000 Subject: StdLib: Changes needed to support XCODE5 I had to make the following changes to make this build work: >build -p AppPkg/AppPkg.dsc -a X64 -t XCODE5 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Andrew Fish Reviewed-by: Daryl McDaniel git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16081 6f19259b-4bc3-4df7-8a09-765794883524 --- StdLib/LibC/StdLib/Environs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'StdLib/LibC') diff --git a/StdLib/LibC/StdLib/Environs.c b/StdLib/LibC/StdLib/Environs.c index 40807279c9..15221a1260 100644 --- a/StdLib/LibC/StdLib/Environs.c +++ b/StdLib/LibC/StdLib/Environs.c @@ -120,7 +120,7 @@ _Exit(int status) longjmp(gMD->MainExit, 0x55); // Get out of here. longjmp can't return 0. Use 0x55 for a non-zero value. #ifdef __GNUC__ - __builtin__Exit(status); /* Keep GCC happy - never reached */ + _Exit(status); /* Keep GCC happy - never reached */ #endif } -- cgit v1.2.3