mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
This commit removes the architecture-specific headers, by keeping only the OS-specific ones. The different headers were needed to keep the legacy Windows header, after we created the "procptr32_t" (4 bytes) and "procptr64_t" (8 bytes) variables. We created these variables because the "peekProc" functions read as many bytes as the variable can hold. A pointer is 4 bytes on 32 bit platforms and 8 bytes on 64 bit ones. Now there's a new variable, called "procptr_t" and with a size of 8 bytes (unsigned long long). We had a "peekProc" template function which returned the value stored at the specified memory address, but it has been used only to read pointers so far. Since we needed a new function that checks the process architecture and sets the correct size of the memory to read, I decided to "recycle" it.
29 lines
663 B
Plaintext
29 lines
663 B
Plaintext
# Copyright 2005-2017 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>.
|
|
|
|
include(../qmake/compiler.pri)
|
|
|
|
TEMPLATE = lib
|
|
CONFIG += plugin debug_and_release warn_on
|
|
CONFIG -= qt
|
|
DIST *= mumble_plugin.h
|
|
|
|
CONFIG(static) {
|
|
CONFIG -= static
|
|
CONFIG += shared
|
|
CONFIG += qt_dynamic_lookup
|
|
}
|
|
|
|
CONFIG(debug, debug|release) {
|
|
CONFIG += console
|
|
DESTDIR = ../../debug/plugins
|
|
}
|
|
|
|
CONFIG(release, debug|release) {
|
|
DESTDIR = ../../release/plugins
|
|
}
|
|
|
|
include(../qmake/symbols.pri)
|