Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow mingw compilation #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
4 changes: 3 additions & 1 deletion winlib_akaiutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

#include <stdio.h>
#include <stdlib.h>
#include <Windows.h>
#include <windows.h>
#include <io.h>
#include <fcntl.h>
#include <sys/stat.h>
Expand All @@ -50,7 +50,9 @@
typedef unsigned char u_char;
typedef unsigned int u_int;
typedef unsigned long u_long;
#if !defined(__MINGW32__) || !defined(__MINGW64__)
typedef int ssize_t;
#endif
#ifndef SSIZE_MAX
#define SSIZE_MAX INT_MAX
#endif /* !SSIZE_MAX */
Expand Down