Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mcychan authored Jan 6, 2025
1 parent 455a019 commit b2ff931
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion nQuantCpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required (VERSION 3.10)

if(NOT WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I /usr/include/wine/wine/windows")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I /usr/share/mingw-w64/include")
endif()
add_executable(nQuantCpp "nQuantCpp.cpp" "nQuantCpp.h" "nQuantCpp.rc" "bitmapUtilities.cpp" "bitmapUtilities.h" "BlueNoise.cpp" "BlueNoise.h" "CIELABConvertor.cpp" "CIELABConvertor.h" "DivQuantizer.cpp" "DivQuantizer.h"
"Dl3Quantizer.cpp" "Dl3Quantizer.h" "EdgeAwareSQuantizer.cpp" "EdgeAwareSQuantizer.h" "GifWriter.cpp" "GifWriter.h" "GilbertCurve.cpp" "GilbertCurve.h" "MedianCut.cpp" "MedianCut.h" "Otsu.cpp" "Otsu.h"
Expand Down
5 changes: 0 additions & 5 deletions nQuantCpp/bitmapUtilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,8 @@ using namespace std;

#ifndef _WIN32
#include <guiddef.h>
#include <minwindef.h>
#include <gdiplus.h>
using namespace Gdiplus;

#ifndef bool
typedef BOOL bool;
#endif
#endif


Expand Down

0 comments on commit b2ff931

Please sign in to comment.