Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

QNX support

  • Loading branch information...
commit 585b5c96ff21f9bb8053924e2436f20b030bb249 1 parent 7adb6d1
@singpolyma authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 st.c
View
4 st.c
@@ -34,6 +34,8 @@
#include <util.h>
#elif defined(__FreeBSD__) || defined(__DragonFly__)
#include <libutil.h>
+#elif defined(__QNXNTO__)
+ #include <unix.h>
#endif
#define USAGE \
@@ -2240,7 +2242,7 @@ sdlinit(void) {
dc.font = dc.ifont = dc.bfont = dc.ibfont = NULL;
- if(SDL_Init(SDL_INIT_VIDEO|SDL_INIT_EVENTTHREAD) == -1) {
+ if(SDL_Init(SDL_INIT_VIDEO) == -1) {
fprintf(stderr,"Unable to initialize SDL: %s\n", SDL_GetError());
exit(EXIT_FAILURE);
}
Please sign in to comment.
Something went wrong with that request. Please try again.