Changeset a45f0c18e8fb82539eaabeb4ee1582e434d2b8f8
- Timestamp:
- 28/05/08 02:30:06
(6 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1211934606 +0200
- git-parent:
[38ed746ecf24744e61c932710cb174a56183e758]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1211934592 +0200
- Message:
live555: Work around buggy Mac OS X headers for INT64_C.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r9a8a483 |
ra45f0c1 |
|
| 45 | 45 | #include <iostream> |
|---|
| 46 | 46 | #include <limits.h> |
|---|
| 47 | | #include <stdint.h> /* UINT64_C */ |
|---|
| | 47 | |
|---|
| 48 | 48 | |
|---|
| 49 | 49 | #if defined( WIN32 ) |
|---|
| … | … | |
| 59 | 59 | #include "../access/mms/asf.h" /* Who said ugly ? */ |
|---|
| 60 | 60 | } |
|---|
| | 61 | |
|---|
| | 62 | /* XXX Ugly workaround: Buggy Mac OS X headers fail to define them */ |
|---|
| | 63 | #ifndef INT64_C |
|---|
| | 64 | # define INT64_C(v) (v ## LL) |
|---|
| | 65 | #endif |
|---|
| | 66 | #ifndef UINT64_C |
|---|
| | 67 | # define UINT64_C(v) (v ## ULL) |
|---|
| | 68 | #endif |
|---|
| 61 | 69 | |
|---|
| 62 | 70 | using namespace std; |
|---|