summaryrefslogtreecommitdiff
path: root/ldmicro/ldinterpret.c
diff options
context:
space:
mode:
authorRr422018-06-07 14:31:36 +0530
committerRr422018-06-07 14:31:36 +0530
commit6e464f4589d94428d8a2eacd1f658f174e0ac865 (patch)
tree0b6ab1a8eee4d1fc445b9394be9e204f103a5d5b /ldmicro/ldinterpret.c
parentd182102e6c2260a516fb83c2c4a5af1484eb36b3 (diff)
downloadLDMicroGtk-6e464f4589d94428d8a2eacd1f658f174e0ac865.tar.gz
LDMicroGtk-6e464f4589d94428d8a2eacd1f658f174e0ac865.tar.bz2
LDMicroGtk-6e464f4589d94428d8a2eacd1f658f174e0ac865.zip
Updated cmake to build LDMicro's *.int interpreter.
Diffstat (limited to 'ldmicro/ldinterpret.c')
-rw-r--r--ldmicro/ldinterpret.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldmicro/ldinterpret.c b/ldmicro/ldinterpret.c
index 6f18d44..a37ff09 100644
--- a/ldmicro/ldinterpret.c
+++ b/ldmicro/ldinterpret.c
@@ -36,7 +36,7 @@
//-----------------------------------------------------------------------------
#include <stdio.h>
#include <ctype.h>
-#include "linuxUI.h"
+#include <unistd.h>
#define INTCODE_H_CONSTANTS_ONLY
#include "intcode.h"
@@ -373,7 +373,7 @@ int main(int argc, char **argv)
// XXX, nonportable; replace with whatever timing functions are
// available on your target.
- Sleep(10);
+ usleep(10000);
}
return 0;