This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/unix/internal.h b/src/unix/internal.h | |
| index 03a9226..b2f1a41 100644 | |
| --- a/src/unix/internal.h | |
| +++ b/src/unix/internal.h | |
| @@ -86,7 +86,7 @@ | |
| #endif | |
| #if defined(__linux__) | |
| -# define UV__POLLIN UV__EPOLLIN | |
| +# define UV__POLLIN (UV__EPOLLIN | UV__EPOLLPRI) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #define _USE_MATH_DEFINES | |
| #include <cmath> | |
| #include <SDL2/SDL.h> | |
| #include <SDL2/SDL_opengl.h> | |
| constexpr int SCREEN_WIDTH = 800; | |
| constexpr int SCREEN_HEIGHT = 600; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| all:consumer producer | |
| CPPFLAGS+=-std=c++03 -Wall -pedantic | |
| CPPFLAGS+=-g -O0 | |
| CPPFLAGS+=-isystem ~/custom/boost/ | |
| LDFLAGS+=-L ~/custom/boost/stage/lib/ -Wl,-rpath,/home/sehe/custom/boost/stage/lib | |
| LDFLAGS+=-lboost_system -lrt -lpthread | |
| %:%.cpp |
NewerOlder