]> git.sesse.net Git - vlc/blobdiff - include/vlc_fixups.h
transcode: use 1000 as frame rate base and don't try to do any rounding
[vlc] / include / vlc_fixups.h
index d91e155e501c14212f90f59c456c5faace24d8c5..43405838835added01ec226c2c9c700aba1431d1 100644 (file)
@@ -71,7 +71,10 @@ typedef struct
 #endif
 
 #ifdef __cplusplus
+# define VLC_NOTHROW throw ()
 extern "C" {
+#else
+# define VLC_NOTHROW
 #endif
 
 /* stdio.h */
@@ -115,10 +118,6 @@ char *strcasestr (const char *, const char *);
 char *strdup (const char *);
 #endif
 
-#ifndef HAVE_STRNCASECMP
-int strncasecmp (const char *, const char *, size_t);
-#endif
-
 #ifndef HAVE_STRVERSCMP
 int strverscmp (const char *, const char *);
 #endif
@@ -179,7 +178,7 @@ struct tm *localtime_r (const time_t *, struct tm *);
 
 /* unistd.h */
 #ifndef HAVE_GETPID
-pid_t getpid (void);
+pid_t getpid (void) VLC_NOTHROW;
 #endif
 
 #ifndef HAVE_FSYNC