diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2006-05-22 09:15:18 +0000 |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2006-05-22 09:15:18 +0000 |
| commit | a43190bc789bebfef15fb2b82f94a19a6bc80000 (patch) | |
| tree | f0420e334066fe66b8c03a4931f5a2ddcb238342 /Include/pyport.h | |
| parent | f90347fdbb9a30468c41b52dd61151880247b4c7 (diff) | |
| download | cpython-git-a43190bc789bebfef15fb2b82f94a19a6bc80000.tar.gz | |
Patch #1492356: Port to Windows CE (patch set 1).
Diffstat (limited to 'Include/pyport.h')
| -rw-r--r-- | Include/pyport.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Include/pyport.h b/Include/pyport.h index 2bce415c5c..df44be698b 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -685,4 +685,16 @@ typedef struct fd_set { #pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED) #endif +/* + * Older Microsoft compilers don't support the C99 long long literal suffixes, + * so these will be defined in PC/pyconfig.h for those compilers. + */ +#ifndef Py_LL +#define Py_LL(x) x##LL +#endif + +#ifndef Py_ULL +#define Py_ULL(x) Py_LL(x##U) +#endif + #endif /* Py_PYPORT_H */ |
