]> git.sesse.net Git - vlc/commitdiff
* removed my ftime-replacement for OSX again
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 20 Mar 2005 19:51:52 +0000 (19:51 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 20 Mar 2005 19:51:52 +0000 (19:51 +0000)
Thanks for the ftime-fix gibalou :)

src/misc/vlm.c

index 4c304574fb9f4af108eca0b32ae9cf4fac226bbb..ac013b396879b85362c25b92675c9e12741f2d0d 100644 (file)
@@ -1249,21 +1249,6 @@ int vlm_MediaControl( vlm_t *vlm, vlm_media_t *media, char *psz_id,
 /*****************************************************************************
  * Schedule handling
  *****************************************************************************/
-#ifdef __APPLE__
-int ftime(struct timeb *tp)
-{
-     struct timeval tv;
-
-     gettimeofday(&tv, NULL);
-     tp->time = tv.tv_sec;
-     tp->millitm = tv.tv_usec / 1000;
-     tp->timezone = 0;
-     tp->dstflag = 0;
-     
-     return (0);
-}
-#endif
-
 static int64_t vlm_Date()
 {
 #ifdef WIN32