Skip to content

Commit 944c009

Browse files
committed
Haiku: Fix build on Windows and Android
1 parent 5ec86a7 commit 944c009

File tree

7 files changed

+6
-2
lines changed

7 files changed

+6
-2
lines changed

appframework/wscript

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def build(bld):
4242

4343
includes = [
4444
'.',
45+
'../common',
4546
'../public',
4647
'../public/tier0',
4748
'../public/tier1'

materialsystem/stdshaders/wscript

+1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ def build(bld):
141141

142142
includes = [
143143
'.',
144+
'../../common',
144145
'../../public',
145146
'../../public/tier0',
146147
'../../public/tier1',
File renamed without changes.

tier1/strtools.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2953,7 +2953,7 @@ extern "C" void qsort_s( void *base, size_t num, size_t width, int (*compare )(v
29532953

29542954
void V_qsort_s( void *base, size_t num, size_t width, int ( __cdecl *compare )(void *, const void *, const void *), void * context )
29552955
{
2956-
#if defined(_WIN32)
2956+
#if defined(_WIN32) || defined(LINUX)
29572957
// the arguments are swapped 'round on the win32 - awesome, huh?
29582958
return qsort_s( base, num, width, compare, context );
29592959
#else

togles/wscript

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def build(bld):
3939

4040
includes = [
4141
'.',
42+
'../common',
4243
'../public',
4344
'../public/tier0',
4445
'../public/tier1'

vgui2/src/wscript

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def build(bld):
5353
'../../public',
5454
'../../public/tier0',
5555
'../../public/tier1',
56-
'../../common'
56+
'../../common',
5757
] + bld.env.INCLUDES_SDL2
5858

5959
defines = []

vgui2/vgui_controls/wscript

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ def build(bld):
9797

9898
includes = [
9999
'.',
100+
'../../common',
100101
'../../public',
101102
'../../public/tier0',
102103
'../../public/tier1'

0 commit comments

Comments
 (0)