Fix errno usage
This commit is contained in:
parent
eecc4ecf06
commit
cd05e3f6d8
@ -93,10 +93,6 @@ arrays. Memory mapped arrays are limited by available space in the file
|
|||||||
system and in the virtual memory space.
|
system and in the virtual memory space.
|
||||||
|
|
||||||
The following predicates manipulate arrays:
|
The following predicates manipulate arrays:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Yap.h"
|
#include "Yap.h"
|
||||||
@ -104,11 +100,6 @@ The following predicates manipulate arrays:
|
|||||||
#include "clause.h"
|
#include "clause.h"
|
||||||
#include "eval.h"
|
#include "eval.h"
|
||||||
#include "heapgc.h"
|
#include "heapgc.h"
|
||||||
#if HAVE_ERRNO_H
|
|
||||||
#include <errno.h>
|
|
||||||
#else
|
|
||||||
extern int errno;
|
|
||||||
#endif
|
|
||||||
#if HAVE_STRING_H
|
#if HAVE_STRING_H
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user