Skip to content

Commit

Permalink
Fix mac compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane Gouache committed Apr 22, 2024
1 parent a678fea commit 3144ad0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/drivertest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
#include <stdlib.h>
#include <string.h>

#ifdef __unix__
#if defined(__unix__) || defined(__unix) || \
(defined(__APPLE__) && defined(__MACH__))
#include <unistd.h>
#include <dlfcn.h>
#endif

#ifndef __unix__
#else
#include <windows.h>
#include "errhandlingapi.h"
#endif
Expand Down

0 comments on commit 3144ad0

Please sign in to comment.