mumble/plugins/mumble_plugin_win32.h
Mikkel Krautz 6c2cf49e4c plugins.pri, mumble_plugin_win32.h: add CONFIG(no-plugin-legacy-ptr) to disable use of non-explicit mumble_plugin_win32.h header.
The idea is that we can use the CONFIG option until we've fixed the
remaining plugins.

Once all plugins have been transitioned over to the new explicit
pointer types, we can drop the mumble_plugin_win32.h header and
point people to mumble_plugin_win32_x86.h and mumble_plugin_win32_x64.h.
2016-06-20 22:40:12 +02:00

18 lines
546 B
C

// Copyright 2005-2016 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 MUMBLE_MUMBLE_PLUGIN_WIN32_H_
#define MUMBLE_MUMBLE_PLUGIN_WIN32_H_
#ifdef USE_PLUGIN_LEGACY_PTR
# define PTR_TYPE VOID *
# define PTR_TYPE_CONCRETE BYTE *
# include "mumble_plugin_win32_ptr_type.h"
#else
# error The mumble_plugin_win32.h header is no longer supported
#endif
#endif