mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
When performing a debug build, the "deadlock plugin" will be included in the build, which uses the thread functionality of the std. However, during compiling there would be an error about a symbol in thread.hpp not being found (_beginthreadex). As it turns out, this was due to us having a header file called Process.h, which would shadow the windows- specific header file defining the mentioned symbol. Therefore, in this commit we rename the Process base class to AbstractProcess and rename the files accordingly, fixing that error. See also: https://stackoverflow.com/q/27230258
21 lines
611 B
C++
21 lines
611 B
C++
// Copyright 2020-2021 The Mumble Developers. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license
|
|
// that can be found in the LICENSE file at the root of the
|
|
// Mumble source tree or at <https://www.mumble.info/LICENSE>.
|
|
|
|
#ifndef PROCESSLINUX_H_
|
|
#define PROCESSLINUX_H_
|
|
|
|
#include "ProcessBase.h"
|
|
|
|
/// Meant to be used with Linux processes.
|
|
class ProcessLinux : public ProcessBase {
|
|
public:
|
|
procptr_t exportedSymbol(const std::string &symbol, const procptr_t module) const override;
|
|
|
|
ProcessLinux(const procid_t id, const std::string &name);
|
|
virtual ~ProcessLinux();
|
|
};
|
|
|
|
#endif
|