summaryrefslogtreecommitdiffstats
path: root/StdLib/LibC/Time
diff options
context:
space:
mode:
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-03 00:01:24 +0000
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-03 00:01:24 +0000
commit5c5e4a12de6b568c1f460b71b6d2399069bf12f1 (patch)
tree91e4ac573f52eed1866e45c94d266b7c3c5690c8 /StdLib/LibC/Time
parentc84d88fa7cc296838fc88392878869fc968e5ca3 (diff)
downloadedk2-5c5e4a12de6b568c1f460b71b6d2399069bf12f1.tar.gz
edk2-5c5e4a12de6b568c1f460b71b6d2399069bf12f1.tar.bz2
edk2-5c5e4a12de6b568c1f460b71b6d2399069bf12f1.zip
StdLib: Revise the meaning of several feature macros.
Feature macros, defined in StdLibPrivateInternalFiles/Include/LibConfig.h are defined to cause the named feature to be included. When originally added, several features were guarded using reversed logic. Signed-off-by: darylm503 Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12652 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/LibC/Time')
-rw-r--r--StdLib/LibC/Time/gettimeofday.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/StdLib/LibC/Time/gettimeofday.c b/StdLib/LibC/Time/gettimeofday.c
index 1de6dfa66f..d54b7bcf7c 100644
--- a/StdLib/LibC/Time/gettimeofday.c
+++ b/StdLib/LibC/Time/gettimeofday.c
@@ -48,9 +48,9 @@
#include <sys/EfiCdefs.h>
#include <sys/time.h>
#include <time.h>
-#ifndef HAVE_GETTIMEOFDAY
+#ifdef HAVE_GETTIMEOFDAY
/*
* Simple gettimeofday that only returns seconds.
*/