Codechange: remove #ifdef from .cpp files to exclude features
With CMake, these files are simply not compiled to start with.
This commit is contained in:
@@ -7,8 +7,6 @@
|
||||
|
||||
/** @file string_uniscribe.cpp Functions related to laying out text on Win32. */
|
||||
|
||||
#if defined(WITH_UNISCRIBE)
|
||||
|
||||
#include "../../stdafx.h"
|
||||
#include "../../debug.h"
|
||||
#include "string_uniscribe.h"
|
||||
@@ -620,5 +618,3 @@ const int *UniscribeParagraphLayout::UniscribeVisualRun::GetGlyphToCharMap() con
|
||||
|
||||
return this->utf16_to_utf8[this->cur_pos];
|
||||
}
|
||||
|
||||
#endif /* defined(WITH_UNISCRIBE) */
|
||||
|
||||
@@ -10,8 +10,6 @@
|
||||
#ifndef STRING_UNISCRIBE_H
|
||||
#define STRING_UNISCRIBE_H
|
||||
|
||||
#if defined(WITH_UNISCRIBE)
|
||||
|
||||
#include "../../gfx_layout.h"
|
||||
#include "../../string_base.h"
|
||||
#include <vector>
|
||||
@@ -85,6 +83,4 @@ public:
|
||||
size_t Prev(IterType what) override;
|
||||
};
|
||||
|
||||
#endif /* defined(WITH_UNISCRIBE) */
|
||||
|
||||
#endif /* STRING_UNISCRIBE_H */
|
||||
|
||||
Reference in New Issue
Block a user