Skip to content

Commit afeadf5

Browse files
committed
code style
test=develop
1 parent 09064ee commit afeadf5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

paddle/fluid/memory/allocation/cpu_allocator.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717

1818
#ifdef _WIN32
1919
#define posix_memalign_free _aligned_free
20-
#define posix_memalign(p, a, s) (((*(p)) = _aligned_malloc((s), (a))), *(p) ? 0 : errno)
20+
#define posix_memalign(p, a, s) \
21+
(((*(p)) = _aligned_malloc((s), (a))), *(p) ? 0 : errno)
2122
#endif
2223

2324
namespace paddle {

0 commit comments

Comments
 (0)