Skip to content
Snippets Groups Projects
Commit 2f74abe5 authored by Avi Kivity's avatar Avi Kivity
Browse files

build: define __OSV__ as an indication of an osv build

Allows cross-platform code where the APIs aren't the same.
parent 9c9416cd
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ COMMON = $(autodepend) -g -Wall -Wno-pointer-arith -Werror -Wformat=0 \
-D __BSD_VISIBLE=1 -U _FORTIFY_SOURCE -fno-stack-protector $(INCLUDES) \
$(do-sys-includes) \
$(arch-cflags) $(conf-opt) $(acpi-defines) $(tracing-flags) \
$(configuration) -nostdinc
$(configuration) -nostdinc -D__OSV__
tracing-flags-0 =
tracing-flags-1 = -finstrument-functions -finstrument-functions-exclude-file-list=c++,trace.cc,trace.hh,align.hh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment