file_ops.c - cleanups

This commit is contained in:
twinaphex 2015-03-18 01:11:56 +01:00
parent e7abded26a
commit 93a7ae4493

View File

@ -33,18 +33,6 @@
#include <kernel/image.h>
#endif
#if (defined(__CELLOS_LV2__) && !defined(__PSL1GHT__)) || defined(__QNX__) || defined(PSP)
#include <unistd.h> /* stat() is defined here */
#endif
#if defined(__CELLOS_LV2__)
#ifndef S_ISDIR
#define S_ISDIR(x) (x & 0040000)
#endif
#endif
#if defined(_WIN32)
#ifdef _MSC_VER
#define setmode _setmode