lok: vcl: fix multiple floatwin removal case more robustly.
[LibreOffice.git] / sal / osl / w32 / memory.cxx
blob1f1a5b516ff0dcf99c01227843b71ecddbf8d4d0
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #include <oslmemory.h>
12 #include <malloc.h>
14 void* osl_aligned_alloc( sal_Size align, sal_Size size )
16 return _aligned_malloc(size, align);
19 void osl_aligned_free( void* p )
21 _aligned_free(p);
24 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */