diff options
Diffstat (limited to 'src/windows/demo/jvmti/hprof/hprof_md.c')
-rw-r--r-- | src/windows/demo/jvmti/hprof/hprof_md.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/windows/demo/jvmti/hprof/hprof_md.c b/src/windows/demo/jvmti/hprof/hprof_md.c index 073a946d2e..2f3ba24fc9 100644 --- a/src/windows/demo/jvmti/hprof/hprof_md.c +++ b/src/windows/demo/jvmti/hprof/hprof_md.c @@ -29,6 +29,15 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +/* + * This source code is provided to illustrate the usage of a given feature + * or technique and has been deliberately simplified. Additional steps + * required for a production-quality application, such as security checks, + * input validation and proper error handling, might not be present in + * this sample code. + */ + + // To ensure winsock2.h is used, it has to be included ahead of // windows.h, which includes winsock.h by default. #include <winsock2.h> |