celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ferry Huberts <maili...@hupie.com>
Subject [RFC] [PATCH v1 3/9] fix compiler warning about extra symbols after ifdef
Date Fri, 13 Jul 2012 21:35:46 GMT
From: Ferry Huberts <ferry.huberts@pelagic.nl>

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
---
 deployment_admin/private/src/miniunz.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deployment_admin/private/src/miniunz.c b/deployment_admin/private/src/miniunz.c
index cf026e4..c3980f0 100644
--- a/deployment_admin/private/src/miniunz.c
+++ b/deployment_admin/private/src/miniunz.c
@@ -81,7 +81,7 @@ void change_file_date(filename,dosdate,tmu_date)
   SetFileTime(hFile,&ftm,&ftLastAcc,&ftm);
   CloseHandle(hFile);
 #else
-#ifdef unix || __APPLE__
+#if defined unix || defined __APPLE__
   struct utimbuf ut;
   struct tm newdate;
   newdate.tm_sec = tmu_date.tm_sec;
-- 
1.7.10.4


Mime
View raw message