2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[master] Merged trac3870 (OPTIONAL macro guard)

This commit is contained in:
Francis Dupont
2015-06-23 19:44:09 +02:00
3 changed files with 24 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
// Copyright (C) 2013 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2013, 2015 Internet Systems Consortium, Inc. ("ISC")
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
@@ -22,6 +22,13 @@
#include <stdint.h>
#include <string>
// Undefine the macro OPTIONAL which is defined in some operating
// systems but conflicts with class constant is the context base class.
#ifdef OPTIONAL
#undef OPTIONAL
#endif
namespace isc {
namespace d2 {

View File

@@ -33,6 +33,14 @@
#include <iostream>
#include <queue>
// Undefine the macro OPTIONAL which is defined in some operating
// systems but conflicts with a member of the RequirementLevel enum in
// the server class.
#ifdef OPTIONAL
#undef OPTIONAL
#endif
namespace isc {
namespace dhcp {

View File

@@ -32,6 +32,14 @@
#include <iostream>
#include <queue>
// Undefine the macro OPTIONAL which is defined in some operating
// systems but conflicts with a member of the RequirementLevel enum in
// the server class.
#ifdef OPTIONAL
#undef OPTIONAL
#endif
namespace isc {
namespace dhcp {