Skip to content

Commit

Permalink
Fix include condition
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat committed Dec 23, 2020
1 parent 3b530d6 commit 32631b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/ypparam.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ extern "C" {
#endif // __cplusplus

#if defined(_WIN32)
#include <unistd.h>

#ifndef __pid_t_defined
#ifndef _PID_T_
Expand All @@ -36,6 +35,10 @@ typedef int pid_t;
#endif // ! _PID_T_
#endif // ! __pid_t_defined

#else

#include <unistd.h>

#endif // defined(_WIN32)

/* コマンドナンバー */
Expand Down

0 comments on commit 32631b3

Please sign in to comment.