Skip to content

Commit

Permalink
Add direct.h for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Jul 5, 2017
1 parent f65f9cd commit 9d44c85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion allegrowrapper/wrapalleg.h
@@ -1,8 +1,9 @@
#ifndef WRAP_H
#define WRAP_H

#ifdef _MSVC
#ifdef _MSC_VER
#define INLINE _inline
#include <direct.h>
#else
#include <unistd.h>
#define INLINE inline
Expand Down

0 comments on commit 9d44c85

Please sign in to comment.