From 986352bec8eed33153797d04d00d6a0fc01ea303 Mon Sep 17 00:00:00 2001 From: klu2 Date: Wed, 18 Jul 2007 17:50:05 +0000 Subject: [PATCH] Remove _MSC_VER for this file is just built by MSFT tool chain git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3335 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c b/MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c index 6f076f7578..9fec1bcae9 100644 --- a/MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c +++ b/MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c @@ -36,7 +36,6 @@ unsigned short _outpw (unsigned short port, unsigned short dataword ); unsigned long _outpd (unsigned short port, unsigned long dataword ); void _ReadWriteBarrier (void); -#ifdef _MSC_VER #pragma intrinsic(_inp) #pragma intrinsic(_inpw) #pragma intrinsic(_inpd) @@ -44,7 +43,7 @@ void _ReadWriteBarrier (void); #pragma intrinsic(_outpw) #pragma intrinsic(_outpd) #pragma intrinsic(_ReadWriteBarrier) -#endif + // // _ReadWriteBarrier() forces memory reads and writes to complete at the point // in the call. This is only a hint to the compiler and does emit code.