mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-21 09:47:55 +00:00
enforce #ifndef __HEADER_H instead of #pragma once, for code consitency and better portability (#2296)
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef __IO_WAVE_H
|
||||
#define __IO_WAVE_H
|
||||
|
||||
#include "io_file.hpp"
|
||||
|
||||
@@ -181,3 +182,5 @@ class WAVFileWriter : public FileWriter {
|
||||
Optional<File::Error> update_header();
|
||||
Optional<File::Error> write_tags();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user