Browse Source

Change error when including headers other than rack.hpp to a warning.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
5aa2e3bcc0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/rack.hpp

+ 1
- 1
include/rack.hpp View File

@@ -7,7 +7,7 @@ Directly including Rack headers other than rack.hpp in your plugin is unsupporte
*/

#ifdef PRIVATE
#error "Plugins must only include rack.hpp. Including other Rack headers is unsupported."
#warning "Plugins must only include rack.hpp. Including other Rack headers is unsupported."
#endif

/** Functions with the PRIVATE attribute should not be called by plugins.


Loading…
Cancel
Save