src/common.h

changeset 272
2074672a6554
parent 267
95fde37e1f00
child 274
d232fe4d88a6
equal deleted inserted replaced
271:d5ec224c1879 272:2074672a6554
222 return qstr.toStdString ().c_str (); 222 return qstr.toStdString ().c_str ();
223 } 223 }
224 224
225 static const double pi = 3.14159265358979323846f; 225 static const double pi = 3.14159265358979323846f;
226 226
227 // -----------------------------------------------------------------------------
227 #ifdef IN_IDE_PARSER // KDevelop workarounds: 228 #ifdef IN_IDE_PARSER // KDevelop workarounds:
228 #error IN_IDE_PARSER is defined (this code is only for KDevelop workarounds) 229 # error IN_IDE_PARSER is defined (this code is only for KDevelop workarounds)
229 230
230 // Current function name 231 // Current function name
231 static const char* __func__ = ""; 232 static const char* __func__ = "";
232 233
233 #ifndef va_start 234 # ifndef va_start
234 #define va_start(va, arg) 235 # define va_start(va, arg)
235 #endif // va_start 236 # endif // va_start
236 237
237 #ifndef va_end 238 # ifndef va_end
238 #define va_end(va) 239 # define va_end(va)
239 #endif // va_end 240 # endif // va_end
240 241
241 typedef void FILE; // :| 242 typedef void FILE; // :|
242 #endif // IN_IDE_PARSER 243 #endif // IN_IDE_PARSER
243 244
244 // ----------------------------------------------------------------------------- 245 // -----------------------------------------------------------------------------

mercurial