[Bf-blender-cvs] [872db161dc1] experimental-build: Revert "Attempt to fix missing ssize_t type on Windows."

Bastien Montagne noreply at git.blender.org
Sun Sep 20 19:43:34 CEST 2020


Commit: 872db161dc103b2ad70d4ade2f42697e63eda5a8
Author: Bastien Montagne
Date:   Sun Sep 20 19:43:19 2020 +0200
Branches: experimental-build
https://developer.blender.org/rB872db161dc103b2ad70d4ade2f42697e63eda5a8

Revert "Attempt to fix missing ssize_t type on Windows."

This reverts commit c01174354f900f625159aedc9ae27f4089699544.

===================================================================

M	source/blender/blenlib/BLI_sys_types.h
M	source/blender/blenloader/intern/readfile.h

===================================================================

diff --git a/source/blender/blenlib/BLI_sys_types.h b/source/blender/blenlib/BLI_sys_types.h
index 398d168b3e2..ff1f6af9573 100644
--- a/source/blender/blenlib/BLI_sys_types.h
+++ b/source/blender/blenlib/BLI_sys_types.h
@@ -60,9 +60,6 @@ typedef uint64_t u_int64_t;
 #elif defined(_MSC_VER)
 #  include <stdint.h>
 
-#  include <BaseTsd.h>
-typedef SSIZE_T ssize_t;
-
 #else
 
 /* FreeBSD, Solaris */
diff --git a/source/blender/blenloader/intern/readfile.h b/source/blender/blenloader/intern/readfile.h
index a651107ea10..c479e3e589b 100644
--- a/source/blender/blenloader/intern/readfile.h
+++ b/source/blender/blenloader/intern/readfile.h
@@ -24,8 +24,6 @@
 
 #pragma once
 
-#include "BLI_sys_types.h"
-
 #include "DNA_sdna_types.h"
 #include "DNA_space_types.h"
 #include "DNA_windowmanager_types.h" /* for ReportType */



More information about the Bf-blender-cvs mailing list