fix some
This commit is contained in:
+3
-3
@@ -10,9 +10,9 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#if COM_DEF_TARGET == COM_DEF_TARGET_WASM
|
||||
#define COM_STD_INFD 0
|
||||
#define COM_STD_OUTFD 1
|
||||
#if COM_DEF_TARGET != COM_DEF_TARGET_COSMO
|
||||
#define COM_STD_INFD (void *)0
|
||||
#define COM_STD_OUTFD (void *)1
|
||||
#else
|
||||
/* TODO: Make it more graceful, probably with static func. */
|
||||
#include <unistd.h>
|
||||
|
||||
Reference in New Issue
Block a user