1 /* |
1 /* |
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
3 * |
3 * |
4 * Copyright 2013 Olaf Wintermann. All rights reserved. |
4 * Copyright 2014 Olaf Wintermann. All rights reserved. |
5 * |
5 * |
6 * Redistribution and use in source and binary forms, with or without |
6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions are met: |
7 * modification, are permitted provided that the following conditions are met: |
8 * |
8 * |
9 * 1. Redistributions of source code must retain the above copyright |
9 * 1. Redistributions of source code must retain the above copyright |
82 |
82 |
83 #ifndef __FUNCTION__ |
83 #ifndef __FUNCTION__ |
84 |
84 |
85 /** |
85 /** |
86 * Alias for the <code>__func__</code> preprocessor macro. |
86 * Alias for the <code>__func__</code> preprocessor macro. |
87 * Some compilers use <code>__func__</code> and others use __FUNC__. |
87 * Some compilers use <code>__func__</code> and others use __FUNCTION__. |
88 * We use __FUNC__ so we define it for those compilers which use |
88 * We use __FUNCTION__ so we define it for those compilers which use |
89 * <code>__func__</code>. |
89 * <code>__func__</code>. |
90 */ |
90 */ |
91 #define __FUNCTION__ __func__ |
91 #define __FUNCTION__ __func__ |
92 #endif |
92 #endif |
93 |
93 |