BeOS doesn't have strtof and PRIxPTR.
svn path=/trunk/netsurf/; revision=5101
This commit is contained in:
parent
1999e455fa
commit
2fdf10c985
|
@ -39,6 +39,13 @@
|
|||
#ifndef max
|
||||
#define max(x,y) (((x)>(y))?(x):(y))
|
||||
#endif
|
||||
#ifndef PRIxPTR
|
||||
#define PRIxPTR "x"
|
||||
#endif
|
||||
|
||||
#if defined(__HAIKU__) || defined(__BEOS__)
|
||||
#define strtof(s,p) ((float)(strtod((s),(p))))
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Calculate length of constant C string.
|
||||
|
|
Loading…
Reference in New Issue