Skip to content

Commit

Permalink
add macosx support
Browse files Browse the repository at this point in the history
  • Loading branch information
onecoolx committed Feb 1, 2023
1 parent 65cc59b commit 08e2b13
Show file tree
Hide file tree
Showing 11 changed files with 442 additions and 19 deletions.
6 changes: 4 additions & 2 deletions build/configs.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
'GCC_OPTIMIZATION_LEVEL': '0',
'GCC_ENABLE_CPP_EXCEPTIONS': "NO",
'GCC_ENABLE_CPP_RTTI': "NO",
'MACOSX_DEPLOYMENT_TARGET': '10.9',
},
}],
['OS=="linux"', {
Expand Down Expand Up @@ -130,8 +131,9 @@
'ENABLE_TESTABILITY': 'NO',
'GCC_UNROLL_LOOPS': 'YES',
'GCC_OPTIMIZATION_LEVEL': '3',
'GCC_ENABLE_CPP_EXCEPTIONS': "NO",
'GCC_ENABLE_CPP_RTTI': "NO",
'GCC_ENABLE_CPP_EXCEPTIONS': 'NO',
'GCC_ENABLE_CPP_RTTI': 'NO',
'MACOSX_DEPLOYMENT_TARGET': '10.9',
},
}],
['OS=="linux"', {
Expand Down
1 change: 0 additions & 1 deletion demos/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ static int width;
static int height;
static unsigned tid;
static float scale;
static float zoomFactor = 1;
static unsigned millsecons = 0;

static ps_path* shadowPath;
Expand Down
2 changes: 1 addition & 1 deletion demos/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ void on_mouse_event(mouse_event_type, unsigned, int, int);

void on_key_event(key_event_type, int);

void on_timer();
void on_timer(void);

void on_size(int, int);

Expand Down
Loading

0 comments on commit 08e2b13

Please sign in to comment.