OpenToonz - An open-source full-featured 2D animation creation software
C
Remove ifdef's for cstring includes
Campbell Bartonacc5e6083618
diff --git a/toonz/sources/tnzbase/tscanner/tscannerutil.cpp b/toonz/sources/tnzbase/tscanner/tscannerutil.cppindex 6064cbd17..9d5d3fca9 100644--- a/toonz/sources/tnzbase/tscanner/tscannerutil.cpp+++ b/toonz/sources/tnzbase/tscanner/tscannerutil.cpp@@ -2,9 +2,7 @@#include "tscannerutil.h"-#ifdef LINUX#include <cstring>-#endif#define BUFBYTE(X, Y, BUF, BYTEWRAP, BITOFFS) \(((UCHAR *)(BUF))[(((X) + (BITOFFS)) >> 3) + (Y) * (BYTEWRAP)])diff --git a/toonz/sources/tnzext/plasticdeformer.cpp b/toonz/sources/tnzext/plasticdeformer.cppindex 13d24e83e..bdab0f487 100644--- a/toonz/sources/tnzext/plasticdeformer.cpp+++ b/toonz/sources/tnzext/plasticdeformer.cpp@@ -12,9 +12,7 @@#include "ext/plasticdeformer.h"-#if defined(LINUX)#include <cstring>-#endif/*! \file plasticdeformer.cppdiff --git a/toonz/sources/tnzext/plastichandle.cpp b/toonz/sources/tnzext/plastichandle.cppindex ffb3619a3..46351a143 100644--- a/toonz/sources/tnzext/plastichandle.cpp+++ b/toonz/sources/tnzext/plastichandle.cpp@@ -18,9 +18,7 @@ using namespace tcg::bgl;#include "ext/plastichandle.h"-#if defined(LINUX)#include <cstring>-#endif//***********************************************************************************************// Distance buildingdiff --git a/toonz/sources/tnzext/tlin/tlin_cblas_wrap.cpp b/toonz/sources/tnzext/tlin/tlin_cblas_wrap.cppindex 42e42016d..d10f473e9 100644--- a/toonz/sources/tnzext/tlin/tlin_cblas_wrap.cpp+++ b/toonz/sources/tnzext/tlin/tlin_cblas_wrap.cpp@@ -3,10 +3,7 @@#include <stddef.h>#include <stdlib.h>#include <memory>--#if defined(LINUX)#include <cstring>-#endif//blasint may either be common 4 bytes or extended 8 (long)...//Replace this and REBUILD the CBLAS with extended int if needed.