Changeset ca434330843238240297944934593dcf6d9b5f3a
- Timestamp:
- 12/22/07 14:44:00
(9 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1198331040 +0000
- git-parent:
[3d979f8e505c0d1dc5c51029ed71ab8c46046206]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1198331040 +0000
- Message:
services_discovery/sap.c: s/min/min_int/ to prevent a macro collision on windows environment.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rae4f748 |
rca43433 |
|
| 278 | 278 | static void FreeSDP( sdp_t *p_sdp ); |
|---|
| 279 | 279 | |
|---|
| 280 | | static inline int min( int a, int b ) |
|---|
| | 280 | static inline int min_int( int a, int b ) |
|---|
| 281 | 281 | { |
|---|
| 282 | 282 | return a > b ? b : a; |
|---|
| … | … | |
| 609 | 609 | /* Compute next timeout */ |
|---|
| 610 | 610 | if( p_announce->i_period_trust > 5 ) |
|---|
| 611 | | timeout = min((3 * p_announce->i_period - i_last_period) / 1000, timeout); |
|---|
| 612 | | timeout = min((i_timeout - i_last_period)/1000, timeout); |
|---|
| | 611 | timeout = min_int((3 * p_announce->i_period - i_last_period) / 1000, timeout); |
|---|
| | 612 | timeout = min_int((i_timeout - i_last_period)/1000, timeout); |
|---|
| 613 | 613 | } |
|---|
| 614 | 614 | } |
|---|