Skip to content

Commit

Permalink
fix pharo 6 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
lxsang committed Oct 16, 2018
1 parent 94f7212 commit c6657fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PTerm-Core/LibPTerm.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ LibPTerm class >> TIOCSWINSZ [
LibPTerm class >> compile [
|cmd arch st fp|
fp := self mksource.
arch := Smalltalk vm is64bit ifTrue: [ '-m64' ] ifFalse: [ '-m32' ].
arch := Smalltalk vm wordSize = 8 ifTrue: [ '-m64' ] ifFalse: [ '-m32' ].
cmd := 'gcc -c -fpic ', arch, ' libpterm.c'.
Transcript show: 'Building: ', cmd; cr.
st := LibC system: cmd.
Expand Down

0 comments on commit c6657fa

Please sign in to comment.