You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by Ferry Huberts <ma...@hupie.com> on 2012/07/13 23:35:46 UTC

[RFC] [PATCH v1 3/9] fix compiler warning about extra symbols after ifdef

From: Ferry Huberts <fe...@pelagic.nl>

Signed-off-by: Ferry Huberts <fe...@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