mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-10 16:31:44 +00:00
Fix #1315, fix #1317 - use #ifndef instead of #pragma once for compilers that do not support #pragma once
This commit is contained in:
1 parent
497b8027f5
commit
3982e065c8
3 files changed
+8
-3
No files matched your search
+4
-1
@@ -14,7 +14,9 @@
|
||||
//
|
||||
// Alternatively, you can license this software under a commercial
|
||||
// license, as set out in <https://www.cesanta.com/license>.
|
||||
#pragma once
|
||||
#ifndef MONGOOSE_H
|
||||
#define MONGOOSE_H
|
||||
|
||||
#define MG_VERSION "7.3"
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -978,3 +980,4 @@ size_t mg_dns_decode_name(const uint8_t *, size_t, size_t, char *, size_t);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif // MONGOOSE_H
|
||||
Reference in new issue
Block a user