diff options
author | <shinichiro.hamaji@gmail.com> | 2012-11-22 12:09:13 +0000 |
---|---|---|
committer | <shinichiro.hamaji@gmail.com> | 2012-11-22 12:09:13 +0000 |
commit | 96dac4fd0267b3a7c3331c8011f43d8381a966ca (patch) | |
tree | 777b510a715f2ee70533726a183a0deded61a32b /m4 | |
parent | 711fcd27dec96995dfe3e2e542d9a0e991f08bdf (diff) | |
download | glog-96dac4fd0267b3a7c3331c8011f43d8381a966ca.tar.gz glog-96dac4fd0267b3a7c3331c8011f43d8381a966ca.tar.bz2 glog-96dac4fd0267b3a7c3331c8011f43d8381a966ca.zip |
Fixed files to support FreeBSD amd64 based on patches at:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/glog/files/
Since FreeBSD do not have gettid system call unlikely to MacOSX, I
modified utilities.h not to use that on FreeBSD:
* FreeBSD lacks gettid syscall.
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/syscalls.master?rev=1.276;content-type=text%2Fplain
* MacOSX gettid == 286.
http://www.opensource.apple.com/source/xnu/xnu-1504.3.12/bsd/kern/syscalls.master
As for the fix of stacktrace, we use a different approach.
Even in FreeBSD, package gcc44/gcc46 has unwind.h.
As a result, checking unwind.h should be natural solution.
This patch was given by yyanagisawa
git-svn-id: https://google-glog.googlecode.com/svn/trunk@116 eb4d4688-79bd-11dd-afb4-1d65580434c0
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions