Revision: 41096
http://brlcad.svn.sourceforge.net/brlcad/?rev=41096&view=rev
Author: brlcad
Date: 2010-10-19 05:59:40 +0000 (Tue, 19 Oct 2010)
Log Message:
-----------
try to stay portable, key on _WIN32 for unistd.h
Modified Paths:
--------------
brlcad/trunk/misc/enigma/enigma.c
Modified: brlcad/trunk/misc/enigma/enigma.c
===================================================================
--- brlcad/trunk/misc/enigma/enigma.c 2010-10-19 05:57:50 UTC (rev 41095)
+++ brlcad/trunk/misc/enigma/enigma.c 2010-10-19 05:59:40 UTC (rev 41096)
@@ -21,8 +21,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
+#ifndef _WIN32
+# include <unistd.h>
+#endif
+
#define MINUSKVAR "CrYpTkEy"
#define ECHO 010
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits