Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ target_sources(${PROJECT_NAME}
include/gk_mkpqueue2.h include/gk_mkrandom.h include/gk_mksort.h
include/gk_mkutils.h include/gk_proto.h include/gk_struct.h
include/gk_types.h include/gkregex.h include/gk_ms_inttypes.h
include/gk_ms_stat.h include/gk_ms_stdint.h
# the following are shims for win32 systems
$<$<PLATFORM_ID:Windows>:src/win32/adapt.c
include/win32/adapt.h>)
include/gk_ms_stat.h include/gk_ms_stdint.h)

target_compile_definitions(${PROJECT_NAME}
PUBLIC $<$<PLATFORM_ID:Linux>:LINUX>)
Expand Down
4 changes: 3 additions & 1 deletion include/gk_arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
#include "gk_ms_stdint.h"
#include "gk_ms_inttypes.h"
#include "gk_ms_stat.h"
#include "win32/adapt.h"
#include <io.h>
#include <process.h>
typedef int pid_t;
#else
#ifndef SUNOS
#include <stdint.h>
Expand Down
14 changes: 0 additions & 14 deletions include/win32/adapt.h

This file was deleted.

11 changes: 0 additions & 11 deletions src/win32/adapt.c

This file was deleted.