Mercurial > hg > orthanc
comparison Resources/CMake/GoogleLogConfiguration.h @ 194:0186ac92810c
fixes for Ubuntu 10.04
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 14 Nov 2012 09:23:53 +0100 |
parents | 7593b57dc1bf |
children |
comparison
equal
deleted
inserted
replaced
193:a1b9d1e1497b | 194:0186ac92810c |
---|---|
136 | 136 |
137 /* Define to the version of this package. */ | 137 /* Define to the version of this package. */ |
138 #define PACKAGE_VERSION "0.3.2" | 138 #define PACKAGE_VERSION "0.3.2" |
139 | 139 |
140 /* How to access the PC from a struct ucontext */ | 140 /* How to access the PC from a struct ucontext */ |
141 /*#include <ucontext.h> | |
142 #include <sys/ucontext.h> | |
143 #ifdef REG_RIP | |
141 #define PC_FROM_UCONTEXT uc_mcontext.gregs[REG_RIP] | 144 #define PC_FROM_UCONTEXT uc_mcontext.gregs[REG_RIP] |
145 #else | |
146 #undef PC_FROM_UCONTEXT | |
147 #endif*/ | |
148 | |
149 // This is required for older versions of Linux | |
150 #undef PC_FROM_UCONTEXT | |
142 | 151 |
143 /* Define to necessary symbol if this constant uses a non-standard name on | 152 /* Define to necessary symbol if this constant uses a non-standard name on |
144 your system. */ | 153 your system. */ |
145 /* #undef PTHREAD_CREATE_JOINABLE */ | 154 /* #undef PTHREAD_CREATE_JOINABLE */ |
146 | 155 |