Skip to content

Commit

Permalink
Proper way of including endian.h for FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Sep 11, 2016
1 parent 9345b07 commit 1fffb1f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@

#include <sys/time.h>

#ifndef WIN32
#include <endian.h>
#else
#if defined(WIN32)
typedef unsigned int uint;
#include <windows.h>
#include <GL/glext.h>
#elif defined(__FreeBSD__)
#include <sys/endian.h>
#else
#include <endian.h>
#endif


Expand Down

0 comments on commit 1fffb1f

Please sign in to comment.