mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2026-05-12 18:29:37 -06:00
Switch OS X build to 64 bit and fix a merge bug
This commit is contained in:
parent
35da7845ce
commit
bbb2b60a2a
@ -3,8 +3,8 @@
|
||||
# gcc is silent.
|
||||
UNAME := $(shell uname)
|
||||
ifeq ($(UNAME), Darwin)
|
||||
PRE_CC=g++ -m32
|
||||
CC=$(PRE_CC) -Wshorten-64-to-32 -DOSX
|
||||
PRE_CC=g++
|
||||
CC=$(PRE_CC) -DOSX
|
||||
endif
|
||||
ifeq ($(UNAME), Linux)
|
||||
PRE_CC=g++
|
||||
@ -84,5 +84,5 @@ $(YAJLFILESCPP:%=$(OUTDIR)/%.o): $(YAJLFILESCPP:%=../yajl/wrapper/%.cpp)
|
||||
$(CC) $(CPPFLAGS) -c $(<D)/$(*F).cpp -o $@
|
||||
|
||||
$(YAJLFILESC:%=$(OUTDIR)/%.o): $(YAJLFILESC:%=../yajl/src/%.c)
|
||||
$(CC) $(CPPFLAGS) -c $(<D)/$(*F).c -o $@
|
||||
$(CC) $(CPPFLAGS) -x c -c $(<D)/$(*F).c -o $@
|
||||
|
||||
|
||||
@ -33,7 +33,6 @@ void Player::Init(Pid pid) {
|
||||
memset(alatr_, 0, sizeof(alatr_));
|
||||
memset(&ws_, 0, sizeof(ws_));
|
||||
memset(did_, 0, sizeof(did_));
|
||||
return true;
|
||||
}
|
||||
|
||||
void Player::SetEndpoint(Endpoint *endpoint) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user