[vlc-commits] [Git][videolan/vlc][master] win32: don't define PATH_MAX

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun Jan 8 09:28:59 UTC 2023



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
9d78b14e by Rémi Denis-Courmont at 2023-01-08T08:55:54+00:00
win32: don't define PATH_MAX

That's only used once in the entire code base, in a Linux-specific file.

- - - - -


1 changed file:

- include/vlc_common.h


Changes:

=====================================
include/vlc_common.h
=====================================
@@ -552,9 +552,6 @@ typedef int ( * vlc_list_callback_t ) ( vlc_object_t *,      /* variable's objec
  *****************************************************************************/
 #if defined( _WIN32 )
 #   include <malloc.h>
-#   ifndef PATH_MAX
-#       define PATH_MAX MAX_PATH
-#   endif
 #   include <windows.h>
 #endif
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9d78b14ed18177355e35459e6dd5ff5931f19097

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9d78b14ed18177355e35459e6dd5ff5931f19097
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list