Mercurial > libdvdnav.hg
comparison dvdnav_internal.h.in @ 107:b2801805c433 src
include some fixes done in xine's copy to avoid merging conflicts
author | mroi |
---|---|
date | Thu, 24 Oct 2002 16:48:19 +0000 |
parents | 0fbef4901e2c |
children | b6834e6359cf |
comparison
equal
deleted
inserted
replaced
106:e984044bbe7b | 107:b2801805c433 |
---|---|
158 char err_str[MAX_ERR_LEN]; | 158 char err_str[MAX_ERR_LEN]; |
159 }; | 159 }; |
160 | 160 |
161 /** USEFUL MACROS **/ | 161 /** USEFUL MACROS **/ |
162 | 162 |
163 #ifdef __GNUC__ | |
163 #define printerrf(format, args...) snprintf(this->err_str, MAX_ERR_LEN, format, ## args); | 164 #define printerrf(format, args...) snprintf(this->err_str, MAX_ERR_LEN, format, ## args); |
165 #else | |
166 #define printerrf(...) snprintf(this->err_str, MAX_ERR_LEN, __VA_ARGS__); | |
167 #endif | |
164 #define printerr(str) strncpy(this->err_str, str, MAX_ERR_LEN); | 168 #define printerr(str) strncpy(this->err_str, str, MAX_ERR_LEN); |
165 /* Save my typing */ | 169 /* Save my typing */ |
166 | 170 |
167 #define S_ERR DVDNAV_STATUS_ERR | 171 #define S_ERR DVDNAV_STATUS_ERR |
168 #define S_OK DVDNAV_STATUS_OK | 172 #define S_OK DVDNAV_STATUS_OK |