Return to engine.c CVS log | Up to [gforth] / gforth / engine |
version 1.30, 2001/03/28 16:18:51 | version 1.32, 2001/12/01 20:33:14 |
---|---|
Line 20 | Line 20 |
*/ | */ |
#include "config.h" | #include "config.h" |
#include "forth.h" | |
#include <ctype.h> | #include <ctype.h> |
#include <stdio.h> | #include <stdio.h> |
#include <string.h> | #include <string.h> |
Line 27 | Line 28 |
#include <assert.h> | #include <assert.h> |
#include <stdlib.h> | #include <stdlib.h> |
#include <errno.h> | #include <errno.h> |
#include "forth.h" | |
#include "io.h" | #include "io.h" |
#include "threaded.h" | #include "threaded.h" |
#ifndef STANDALONE | #ifndef STANDALONE |
Line 196 DCell timeval2us(struct timeval *tvp) | Line 196 DCell timeval2us(struct timeval *tvp) |
#ifdef HAS_FILE | #ifdef HAS_FILE |
static char* fileattr[6]={"rb","rb","r+b","r+b","wb","wb"}; | static char* fileattr[6]={"rb","rb","r+b","r+b","wb","wb"}; |
static char* pfileattr[6]={"r","r","r+","r+","w","w"}; | |
#ifndef O_BINARY | #ifndef O_BINARY |
#define O_BINARY 0 | #define O_BINARY 0 |