Skip to content

Commit 2a19d84

Browse files
micheal-oBillyONeal
authored andcommitted
Avoid using identifiers reserved by C++ in header guards (#940)
1 parent 2f149ca commit 2a19d84

11 files changed

+22
-22
lines changed

Release/include/cpprest/filestream.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
****/
1313
#pragma once
1414

15-
#ifndef _CASA_FILE_STREAMS_H
16-
#define _CASA_FILE_STREAMS_H
15+
#ifndef CASA_FILE_STREAMS_H
16+
#define CASA_FILE_STREAMS_H
1717

1818
#include "cpprest/details/fileio.h"
1919
#include "cpprest/astreambuf.h"

Release/include/cpprest/http_client.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
****/
1313
#pragma once
1414

15-
#ifndef _CASA_HTTP_CLIENT_H
16-
#define _CASA_HTTP_CLIENT_H
15+
#ifndef CASA_HTTP_CLIENT_H
16+
#define CASA_HTTP_CLIENT_H
1717

1818
#if defined (__cplusplus_winrt)
1919
#if !defined(__WRL_NO_DEFAULT_LIB__)

Release/include/cpprest/http_listener.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
****/
1111
#pragma once
1212

13-
#ifndef _CASA_HTTP_LISTENER_H
14-
#define _CASA_HTTP_LISTENER_H
13+
#ifndef CASA_HTTP_LISTENER_H
14+
#define CASA_HTTP_LISTENER_H
1515

1616
#include <limits>
1717
#include <functional>

Release/include/cpprest/json.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
****/
1313
#pragma once
1414

15-
#ifndef _CASA_JSON_H
16-
#define _CASA_JSON_H
15+
#ifndef CASA_JSON_H
16+
#define CASA_JSON_H
1717

1818
#include <memory>
1919
#include <string>

Release/include/cpprest/oauth1.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
****/
1313
#pragma once
1414

15-
#ifndef _CASA_OAUTH1_H
16-
#define _CASA_OAUTH1_H
15+
#ifndef CASA_OAUTH1_H
16+
#define CASA_OAUTH1_H
1717

1818
#include "cpprest/http_msg.h"
1919
#include "cpprest/details/web_utilities.h"

Release/include/cpprest/oauth2.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
****/
1313
#pragma once
1414

15-
#ifndef _CASA_OAUTH2_H
16-
#define _CASA_OAUTH2_H
15+
#ifndef CASA_OAUTH2_H
16+
#define CASA_OAUTH2_H
1717

1818
#include "cpprest/http_msg.h"
1919
#include "cpprest/details/web_utilities.h"

Release/include/cpprest/producerconsumerstream.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
****/
1414
#pragma once
1515

16-
#ifndef _CASA_PRODUCER_CONSUMER_STREAMS_H
17-
#define _CASA_PRODUCER_CONSUMER_STREAMS_H
16+
#ifndef CASA_PRODUCER_CONSUMER_STREAMS_H
17+
#define CASA_PRODUCER_CONSUMER_STREAMS_H
1818

1919
#include <vector>
2020
#include <queue>

Release/include/cpprest/rawptrstream.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
****/
1414
#pragma once
1515

16-
#ifndef _CASA_RAWPTR_STREAMS_H
17-
#define _CASA_RAWPTR_STREAMS_H
16+
#ifndef CASA_RAWPTR_STREAMS_H
17+
#define CASA_RAWPTR_STREAMS_H
1818

1919
#include <vector>
2020
#include <queue>

Release/include/cpprest/streams.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
****/
1313
#pragma once
1414

15-
#ifndef _CASA_STREAMS_H
16-
#define _CASA_STREAMS_H
15+
#ifndef CASA_STREAMS_H
16+
#define CASA_STREAMS_H
1717

1818
#include "cpprest/astreambuf.h"
1919
#include <iosfwd>

Release/include/cpprest/uri.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
****/
1313
#pragma once
1414

15-
#ifndef _CASA_URI_H
16-
#define _CASA_URI_H
15+
#ifndef CASA_URI_H
16+
#define CASA_URI_H
1717

1818
#include "cpprest/base_uri.h"
1919
#include "cpprest/uri_builder.h"

Release/include/cpprest/ws_client.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
****/
1111
#pragma once
1212

13-
#ifndef _CASA_WS_CLIENT_H
14-
#define _CASA_WS_CLIENT_H
13+
#ifndef CASA_WS_CLIENT_H
14+
#define CASA_WS_CLIENT_H
1515

1616
#include "cpprest/details/basic_types.h"
1717

0 commit comments

Comments
 (0)