Mercurial > audlegacy-plugins
comparison src/alac/plugin.c @ 330:74df3bd6f472 trunk
[svn] - portability fixes:
+ use old inttypes.h if stdint.h is not available
+ use NULL instead of 0 when dealing with pointers
| author | nenolod |
|---|---|
| date | Mon, 04 Dec 2006 13:50:33 -0800 |
| parents | 9ce03bf021ae |
| children | 626f9f4d79a8 |
comparison
equal
deleted
inserted
replaced
| 329:c457e253275a | 330:74df3bd6f472 |
|---|---|
| 23 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | 23 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 24 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | 24 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 25 * OTHER DEALINGS IN THE SOFTWARE. | 25 * OTHER DEALINGS IN THE SOFTWARE. |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #include "config.h" | |
| 29 | |
| 28 #include <ctype.h> | 30 #include <ctype.h> |
| 29 #include <stdio.h> | 31 #include <stdio.h> |
| 30 #include <stdint.h> | 32 |
| 33 #if HAVE_STDINT_H | |
| 34 # include <stdint.h> | |
| 35 #else | |
| 36 # if HAVE_INTTYPES_H | |
| 37 # include <inttypes.h> | |
| 38 # endif | |
| 39 #endif | |
| 40 | |
| 31 #include <stdlib.h> | 41 #include <stdlib.h> |
| 32 #include <errno.h> | 42 #include <errno.h> |
| 33 #include <string.h> | 43 #include <string.h> |
| 34 | 44 |
| 35 #include <glib.h> | 45 #include <glib.h> |
