bfs: Use the QueryParserUtils instead of its own copy.
* Ingo copied the methods into a shared location, and then obviously "forgot" to let BFS use them. As a side note for Ingo: the complete error GCC reported was "std::fssh_size_t" not defined with the macro wrapper as code location. The actual problem was a "using std::size_t" in some C++ header that accidentally got included after the wrapper. * The shared Query code is not yet used. That'll be done another time. * Renamed BFS_SHELL define to FS_SHELL, such that QueryParserUtils can be used in any file system shell, not just the bfs_shell.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2001-2009, Axel Dörfler, [email protected].
|
||||
* Copyright 2001-2014, Axel Dörfler, [email protected].
|
||||
* Copyright 2010, Clemens Zeidler <[email protected]>
|
||||
* Copyright 2011, Ingo Weinhold, [email protected].
|
||||
* This file may be used under the terms of the MIT License.
|
||||
@@ -8,9 +8,17 @@
|
||||
#define _FILE_SYSTEMS_QUERY_PARSER_UTILS_H
|
||||
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifdef FS_SHELL
|
||||
# include <new>
|
||||
|
||||
# include "fssh_api_wrapper.h"
|
||||
# include "fssh_auto_deleter.h"
|
||||
#else
|
||||
# include <sys/cdefs.h>
|
||||
|
||||
# include <SupportDefs.h>
|
||||
#endif // !FS_SHELL
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
|
||||
namespace QueryParser {
|
||||
|
||||
Reference in New Issue
Block a user