]> git.sesse.net Git - vlc/blobdiff - compat/fsync.c
added start playback in paused mode (#2936)
[vlc] / compat / fsync.c
index 199e9afdbcc97c716361dcb3c2f3e5010c68eaeb..a84ab6314d8f5f60a0a62d9db899b95a6c8b450d 100644 (file)
@@ -10,7 +10,7 @@
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  * GNU Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public License
 # include <config.h>
 #endif
 
-#ifdef WIN32
+#ifdef _WIN32
 # include <io.h>
 #endif
 
 int fsync (int fd)
 {
-#if defined(WIN32) && !defined(UNDER_CE)
+#if defined(_WIN32)
     /* WinCE can use FlushFileBuffers() but it operates on file handles */
     return _commit (fd);
 #else