diff options
author | Ran Benita <ran@unusedvar.com> | 2022-09-24 10:37:06 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2022-09-24 12:31:53 +0300 |
commit | 4d8293901b89863f8d024cf2ed9138f4f6133196 (patch) | |
tree | 6bd36aacf65f9e853103bd37f1f93d2637c757f6 /test | |
parent | b309514247996d55f6ef33e530a722e2431c2fdb (diff) | |
download | xorg-lib-libxkbcommon-4d8293901b89863f8d024cf2ed9138f4f6133196.tar.gz |
utils: move some MSVC compat stuff to common place
Signed-off-by: Ran Benita <ran@unusedvar.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/context.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/test/context.c b/test/context.c index f91be54..9f6cad7 100644 --- a/test/context.c +++ b/test/context.c @@ -30,15 +30,6 @@ #include <sys/stat.h> #include <sys/types.h> -#ifdef _MSC_VER -# include <io.h> -# include <direct.h> -# ifndef S_ISDIR -# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) -# endif -#else -# include <unistd.h> -#endif /* keeps a cache of all makedir/maketmpdir directories so we can free and * rmdir them in one go, see unmakedirs() */ |