From 529cde02a2a2a018343f1aa596c242ba6a0394b6 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 22 Apr 2018 15:29:59 -0600 Subject: [PATCH] apps/exmples/ostest: Eliminate a warning. --- examples/ostest/ostest.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/ostest/ostest.h b/examples/ostest/ostest.h index aca892ad6..cf437e2a5 100644 --- a/examples/ostest/ostest.h +++ b/examples/ostest/ostest.h @@ -1,7 +1,8 @@ /**************************************************************************** * apps/examples/ostest/ostest.h * - * Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009, 2011-2012, 2018 Gregory Nutt. All rights + * reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -92,6 +93,10 @@ * see the output in context. */ +#ifndef CONFIG_STDIO_BUFFER_SIZE +# define CONFIG_STDIO_BUFFER_SIZE 0 +#endif + #if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0 && \ CONFIG_STDIO_BUFFER_SIZE > 0 && !defined(CONFIG_STDIO_LINEBUFFER) # define FFLUSH() fflush(stdout)