mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
sqlite uintptr_t fix
git-svn-id: svn://ultimatepp.org/upp/trunk@818 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8ec0b5890c
commit
ad5b94852c
1 changed files with 9 additions and 2 deletions
|
|
@ -35,8 +35,6 @@
|
|||
#include <inttypes.h>
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/*
|
||||
** If possible, use the C99 intptr_t type to define an integral type of
|
||||
** equivalent size to a pointer. (Technically it's >= sizeof(void *), but
|
||||
|
|
@ -44,6 +42,15 @@
|
|||
** isn't defined.
|
||||
*/
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
|
||||
typedef intptr_t sqlite3_intptr_t;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue